WeberDev.com PHP and MySQL Code

LOG IN
BEGINNER GUIDES  |  PHP CLASSES  |  CODE SEARCH  |  ARTICLES SEARCH  |  PHP FORUMS  |  PHP MANUAL  |  PHP FUNCTIONS LIST  |  WEB SITE TEMPLATES
Start typing to search for PHP and MySQL Code Snippets and Articles Search
Submit a code Example / Snippet Submit Your Code
Search Engine Optimization Monitor SEO Monitor
Web Site UpTime Monitor UpTime Monitor
WeberDev's Monthly code contest PHP Code Contest
Your Personal Examples List My Favorite Examples
Your Personal Articles List My Favorite Articles
Edit Account Info Update Your Profile
PHP Code Search
Web Development Forums
Learn MySQL Playing Trivia
PHPBB2 Templates
Web Development Index
PHP Web Logs (BLogs)
Web Development Resources
Web Development Content
PHPClasses
PHP Editor
PHP Jobs
Vision.To Design
Ajax Tutorials
PHP Programming Help
PHP/MySQL Programming
Webmaster Resources
Webmaster Forum
XML meta language
website builder
Submit Site
Forex Trading Online forex trading platform

Go Back Add a Comment Send this example to a friend Add this Article to your personal favoritest for easy future access to your favorite Code Examples and Articles. Submit a code example Print this code example.
BACK ADD A COMMENT SEND TO A FRIEND ADD TO MY FAVORITES ADD CODE EXAMPLES PRINT
Title : ECHO-Java Class Credit Card and Check / ACH Transaction Processor
Categories : Java, Cybercash, Classes and Objects, Ecommerce, Java Servlets Update Picture
Robb Hanisee
Date : Oct 17th 2001
Grade : 5 of 5 (graded 1 times)
Viewed : 6699
File : openecho.java.1.1.tar.gz
Images : No Images for this code example.
Search : More code by Robb Hanisee
Action : Grade This Code Example
Tools : My Examples List

  Submit your own code examples 
 

ECHO-Java Class drives all types of real-time credit card and check transactions using ECHO
merchant processing’s 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
Authorize.net AIM Interface Class v1.0.0
Categories : PHP, PHP Classes, Ecommerce, Payment Gateways
phpAds, a complete banner and ad management system with detailled tracking and stats.
Categories : MySQL, Complete Programs, Ecommerce, PHP, Databases
open source online php shop project ecommerce commerce
Categories : PHP, Ecommerce
PHPCatalog
Categories : Ecommerce, PHP, Complete Programs
cybercash_base64_decode --
Categories : PHP, PHP Functions, Cybercash
an example of the cyberlib payment class
Categories : PHP, PHP Classes, Ecommerce, Credit Cards
Amazon book cover handling
Categories : HTML and PHP, PHP, MySQL, Ecommerce
gpg encryption. 99% of it will apply to PGP.
Categories : Credit Cards, Authentication, Ecommerce, Misc
MySQL wrapper class (PHP 5+ only)
Categories : MySQL, Databases, Classes and Objects, Object Oriented
Shopping Basket On-Line Ordering System.
Categories : Complete Programs, MySQL, PHP, Ecommerce, Databases
MySQL Handler
Categories : PHP, Databases, MySQL, Classes and Objects, PHP Classes
shopping cart class with add/edit/delete product functionality.
Categories : PHP, PHP Classes, Ecommerce
This is a redirection program which is as good as the come.to v3 url redirection, complete with admin interface all clients stored in mysql
Categories : PHP, MySQL, Ecommerce, HTML and PHP, Complete Programs