|
|
|
ECHO-PHP 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 withdrawal, and more. Source Code is provided. Perfect for ISP/IPPs to use for billing their
clients, since this supports electronic checks as well. Ideal for all commerce applications. Perfect
for ISP/IPPs to use for billing their clients, since this supports electronic checks as well.
Download the bundle here:
http://www.openecho.com/php/echophp-1.4.tar.gz
Support available at: http://www.openecho.com
<?php
// this was written and tested in PHP4 so I can't
// vouch for PHP3.. but it should be fine.
include ("echophp.class");
$echoPHP = new EchoPHP;
$echoPHP->set_EchoServer("https://wwws.echo-inc.com/scripts/INR300.EXE");
$echoPHP->set_transaction_type("EV");
$echoPHP->set_order_type("S");
$echoPHP->set_merchant_echo_id("123>4681573"); // use your own id here
$echoPHP->set_merchant_pin("98164734"); // use your onw pin here
$echoPHP->set_billing_phone("503-123-4567");
$echoPHP->set_billing_ip_address($REMOTE_ADDR);
$echoPHP->set_billing_name("Visa");
$echoPHP->set_billing_address1("18303 Some Street");
$echoPHP->set_billing_city("Some City");
$echoPHP->set_billing_state("Some State");
$echoPHP->set_billing_zip("98223");
$echoPHP->set_billing_country("USA");
$echoPHP->set_billing_phone("503-123-4569");
$echoPHP->set_billing_fax("503-123-4569");
$echoPHP->set_billing_email("jim@openecho.com");
// check payment info if supplied...
/*
$echoPHP->set_ec_bank_name($ec_bank_name);
$echoPHP->set_ec_first_name($ec_first_name);
$echoPHP->set_ec_last_name($ec_last_name);
$echoPHP->set_ec_address1($ec_address1);
$echoPHP->set_ec_city($ec_city);
$echoPHP->set_ec_state($ec_state);
$echoPHP->set_ec_zip($ec_zip);
$echoPHP->set_ec_rt($ec_rt);
$echoPHP->set_ec_account($ec_account);
$echoPHP->set_ec_serial_number($ec_serial_number);
$echoPHP->set_ec_payee($ec_payee);
$echoPHP->set_ec_id_state($ec_id_state);
$echoPHP->set_ec_id_number($ec_id_number);
$echoPHP->set_ec_id_type($ec_id_type);
*/
$echoPHP->set_debug("F");
$echoPHP->set_cc_number("4005 5500 0000 0019");
$echoPHP->set_grand_total(1.00);
$echoPHP->set_ccexp_month(12);
$echoPHP->set_ccexp_year(2004);
$echoPHP->set_counter($echoPHP->getRandomCounter());
print($echoPHP->get_version() . "<BR>");
$echoPHP->Submit();
print($echoPHP->EchoResponse);
?>
|
|
| Authorize.net AIM Interface Class v1.0.0 Categories : PHP, PHP Classes, Ecommerce, Payment Gateways | | | ECHO-Perl Module Credit Card, Check and ACH Transaction Processor Categories : Perl, Cybercash, Classes and Objects, Ecommerce, Credit Cards | | | an example of the cyberlib payment class Categories : PHP, PHP Classes, Ecommerce, Credit Cards | | | ECHO-Java Class Credit Card and Check / ACH Transaction Processor Categories : Java, Cybercash, Classes and Objects, Ecommerce, Java Servlets | | | 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 | | | Online Automatic Class Generator for MySQL Tables Categories : PHP, PHP Classes, Classes and Objects, Databases, MySQL | | | Class: Info on Users, Servers and the running script Categories : PHP, Classes and Objects, User Interface, PHP Classes | | | An efficient iterative and buffered text file reader Categories : PHP, Classes and Objects, Filesystem, PHP Classes, Log Files | | | Access_user Class - an easy to use system for protecting pages and register users. Categories : PHP, Classes and Objects, Object Oriented, PHP Classes, Authentication | | | simple shopping cart for php3 Categories : PHP, PHP Classes, Complete Programs, Ecommerce | | | Mssql database Manager Categories : PHP, Databases, MS SQL Server, Classes and Objects, PHP Classes | | | PHP CLASS for ORACLE (database connectivity) Categories : PHP, PHP Classes, Classes and Objects, Databases, Oracle | | | Example Shopping cart class Categories : Ecommerce, PHP, PHP Classes | | | ClassFuncDoc - This script is a classes and functions documentation tool. Categories : PHP, Classes and Objects, Documentation, PHP Classes, Complete Programs | |
|
|
|