Esempio n. 1
0
 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");
     // $echoPHP->set_cnp_security(3333);  // The three-digit MasterCard (CVC2) or VISA (CVV2) or the four-digit Discover (CID)
     // or AMEX card-not-present security code.
 } else {
     // check payment info if supplied...
     $echoPHP->set_ec_bank_name($bankName);
     $echoPHP->set_ec_first_name($firstName);
     $echoPHP->set_ec_last_name(lastName);
     $echoPHP->set_ec_address1($address1);
     $echoPHP->set_ec_address2($address2);
     $echoPHP->set_ec_city($city);
     $echoPHP->set_ec_state($state);
     $echoPHP->set_ec_zip($zip);
     $echoPHP->set_ec_rt($route);
     $echoPHP->set_ec_account($account);
     $echoPHP->set_ec_serial_number($serial);
     $echoPHP->set_ec_payee($EchoPayee);
     //$echoPHP->set_ec_id_state("");
     //$echoPHP->set_ec_id_number("");
     //$echoPHP->set_ec_id_type("");
     $echoPHP->set_transaction_type("DD");
 }
 $echoPHP->set_debug("F");
 // set to T to turn on debugging
 $echoPHP->set_counter(1);