WeberDev.com PHP and MySQL Code

LOG IN
BEGINNER GUIDESPHP CLASSESCODE SEARCHARTICLES SEARCHPHP FORUMSPHP MANUALPHP FUNCTIONS LISTWEB SITE TEMPLATES
Start typing to search for PHP and MySQL Code Snippets and Articles Search
Submit a code Example / Snippet Join us on FaceBook
Submit a code Example / Snippet Submit Your Code
Poker Tournaments Poker Tournaments
Poker Guide for Developers Poker Guide for Developers
Search Engine Optimization Monitor SEO Monitor
Web Site UpTime Monitor UpTime Monitor
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 Resources
Web Development Content
Internet Security Software
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
פרייסז - הכח לקנות עובר לידיים שלך
Texas Holdem Poker Evangelists

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 2 times)
Viewed : 13379
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  Submit your own code examples 
 

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