ECHO-Java Class drives all types of real-time credit card and check transactions using ECHO
merchant processings free secure payment gateway and open-source real-time software.
Supports system check, address verification, authorization and deposit, deposit, credit, electronic
check debit, and more. Ideal for all commerce applications. Perfect for ISP/IPPs to use for billing
their clients, since this supports electronic checks as well.
The new ECHO-Java Class makes it easier than ever to connect to ECHO.
Supports check-debit & all Ccard Transactions
You must have the JCE (crypto) installed.
It can be found at:
http://java.sun.com/products/jce/
You must have the JSSE (java secure socket extensions) installed.
It can be found at:
http://java.sun.com/products/jsse/
EXAMPLE:
<html>
<body>
<jsp:useBean id="echo" scope="request" class="com.openecho.Echo" />
<%
// this is for the required counter...
int counter = (int) (Math.random() * (100000 - 1));
echo.merchant_echo_id = "some_id";
echo.merchant_pin = "some_pin";
echo.order_type = "S";
echo.transaction_type="EV";
echo.billing_name = request.getParameter("billing_name");
echo.billing_address1 = request.getParameter("billing_address1");
echo.billing_city = request.getParameter("billing_city");
echo.billing_state = request.getParameter("billing_state");
echo.billing_zip = request.getParameter("billing_zip");
echo.billing_phone = request.getParameter("billing_phone");
echo.billing_email = request.getParameter("billing_email");
echo.cc_number = request.getParameter("cc_number");
echo.grand_total = request.getParameter("grand_total");
/*
echo.billing_phone = "360-403-7296";
echo.billing_name = "John Doe";
echo.billing_address1 = "777 Pearly Gates";
echo.billing_city = "Arlington";
echo.billing_state = "WA";
echo.billing_zip = "91360";
echo.billing_phone = "360-403-7296";
echo.billing_email = "support@openecho.com";
echo.cc_number = "4005 5500 0000 0019";
echo.grand_total = "1.00";
*/
echo.billing_ip_address = "207.202.191.141";
echo.billing_fax = "777-777-7777";
echo.billing_country = "USA";
echo.counter = "" + counter;
echo.debug = "F";
echo.submit();
<%=echo.version() %>
%>
<%
if (echo.echoSuccess()) {
%>
Success<BR>
<%
} else {
%>
<font color="red">Failed</font><BR>
<% } %>
<%= echo.echoType2() %><BR>
</body>
</html>
Testing EXAMPLE:
<html>
<body>
<table>
<form name="test_echo_java" action="openecho.jsp">
<tr>
<td>Address</td><td><input name="billing_address1" value="some address"></td>
</tr>
<tr>
<td>Name</td><td><input name="billing_name" value="John Doe"></td>
</tr>
<tr>
<td>Phone</td><td><input name="billing_phone" value="777-777-7777"></td>
</tr>
<tr>
<td>City</td><td><input name="billing_city" value="Arlington"></td>
</tr>
<tr>
<td>State</td><td><input name="billin_state" value="WA"></td>
</tr>
<tr>
<td>ZIP</td><td><input size="10" name="billing_zip" value="98223"></td>
</tr>
<tr>
<td>Email</td><td><input size="25" name="billing_email"
value="support@openecho.com"></td>
</tr>
<tr>
<td>Grand Total</td><td><input size="25" name="grand_total"
value="54.00"></td>
</tr>
<tr>
<td>Credit Card Number</td><td><input name="cc_number" value="4005 5500
0000 0019"></td>
</tr>
<tr>
<td align="center" colspan="2">
<input type="submit" value="Submit">
</td>
</tr>
</form>
</table>
</body>
</html>
ECHO-Perl Module Credit Card, Check and ACH Transaction Processor Categories : Perl , Cybercash , Classes and Objects , Ecommerce , Credit Cards ECHO-PHP Class Real Time Transaction Processor v1.4.4 for Credit Cards and
Checks / ACH Categories : PHP Classes , Cybercash , Classes and Objects , Ecommerce , PHP Class: Info on Users, Servers and the running script Categories : PHP , Classes and Objects , User Interface , PHP Classes SMTP Class Categories : Mail , Classes and Objects ClassFuncDoc - This script is a classes and functions documentation tool. Categories : PHP , Classes and Objects , Documentation , PHP Classes , Complete Programs Validation function for LUHNMod10 and variant. Can discriminate credit card numbers of varying lengths. Uses [Double >> Sum-of-Digits] transform. Categories : Credit Cards , Authentication , Ecommerce , PHP an example of the cyberlib payment class Categories : PHP , PHP Classes , Ecommerce , Credit Cards Javascript linked dropdowns Categories : Java Script , HTML , Classes and Objects Get TemplateMonster data Categories : Arrays , Ecommerce , PHP , Strings PCAC (pretty cool auction client), auction client server applications Categories : PHP , MySQL , Ecommerce Reflection Examples - Their main goal is show how to use PHP's reflection classes re-implementing some php standard functions using reflection. Categories : PHP , PHP Classes , Classes and Objects Mssql database Manager Categories : PHP , Databases , MS SQL Server , Classes and Objects , PHP Classes call_user_method -- Call a user method on an specific object Categories : PHP , PHP Functions , Classes and Objects After discovering some credit card validation routines didnt work - here is one that I found works with all the numbers I have tried so far Categories : Credit Cards , Ecommerce , PHP Shopping Basket On-Line Ordering System. Categories : Complete Programs , MySQL , PHP , Ecommerce , Databases