include "Include/EchoConfig.php"; // Specific account information is in here $echoPHP = new EchoPHP(); while ($aTransaction = mysql_fetch_array($rsTransactions)) { extract($aTransaction); if ($plg_aut_Cleared) { // If this one already cleared do not submit it again. continue; } $echoPHP->set_EchoServer("https://wwws.echo-inc.com/scripts/INR200.EXE"); $echoPHP->set_merchant_echo_id($EchoAccount); $echoPHP->set_merchant_pin($EchoPin); $echoPHP->set_grand_total($plg_amount); $echoPHP->set_billing_phone($phone); $echoPHP->set_billing_address1($address1); $echoPHP->set_billing_address2($address2); $echoPHP->set_billing_city($city); $echoPHP->set_billing_state($state); $echoPHP->set_billing_zip($zip); $echoPHP->set_billing_country($country); $echoPHP->set_billing_email($email); $echoPHP->set_billing_ip_address($REMOTE_ADDR); $echoPHP->set_order_type("S"); $echoPHP->set_cnp_recurring("Y"); if ($dep_Type == "CreditCard") { $echoPHP->set_billing_first_name($firstName); $echoPHP->set_billing_last_name($lastName); $echoPHP->set_cc_number($creditCard); $echoPHP->set_ccexp_month($expMonth); $echoPHP->set_ccexp_year($expYear); $echoPHP->set_transaction_type("EV");