| API_VERSION |
= |
'3.1' |
|
version of the gateway’s API
|
| FIELDS |
= |
{ 'method' => 'x_Method', 'type' => 'x_Type', 'login' => 'x_Login', 'password' => 'x_Password', 'transaction_key' => 'x_Tran_Key', 'description' => 'x_Description', 'amount' => 'x_Amount', 'currency_code' => 'x_Currency_Code', 'invoice_num' => 'x_Invoice_Num', 'transaction_id' => 'x_Trans_ID', 'auth_code' => 'x_Auth_Code', 'cust_id' => 'x_Cust_ID', 'customer_ip' => 'x_Customer_IP', 'last_name' => 'x_Last_Name', 'first_name' => 'x_First_Name', 'company' => 'x_Company', 'address' => 'x_Address', 'city' => 'x_City', 'state' => 'x_State', 'zip' => 'x_Zip', 'country' => 'x_Country', 'ship_to_last_name' => 'x_Ship_To_Last_Name', 'ship_to_first_name' => 'x_Ship_To_First_Name', 'ship_to_address' => 'x_Ship_To_Address', 'ship_to_city' => 'x_Ship_To_City', 'ship_to_state' => 'x_Ship_To_State', 'ship_to_zip' => 'x_Ship_To_Zip', 'ship_to_country' => 'x_Ship_To_Country', 'phone' => 'x_Phone', 'fax' => 'x_Fax', 'email' => 'x_Email', 'card_number' => 'x_Card_Num', 'expiration' => 'x_Exp_Date', 'card_code' => 'x_Card_Code', 'echeck_type' => 'x_Echeck_Type', 'account_name' => 'x_Bank_Acct_Name', 'account_number' => 'x_Bank_Acct_Num', 'account_type' => 'x_Bank_Acct_Type', 'bank_name' => 'x_Bank_Name', 'bank_aba_code' => 'x_Bank_ABA_Code', 'customer_org' => 'x_Customer_Organization_Type', 'customer_ssn' => 'x_Customer_Tax_ID', 'drivers_license_num' => 'x_Drivers_License_Num', 'drivers_license_state' => 'x_Drivers_License_State', 'drivers_license_dob' => 'x_Drivers_License_DOB', 'recurring_billing' => 'x_Recurring_Billing', 'test_request' => 'x_Test_Request', 'delim_data' => 'x_Delim_Data', 'relay_response' => 'x_Relay_Response', 'version' => 'x_Version', } |
|
map the instance variable names to the gateway’s requested variable
names
|
| TYPES |
= |
{ 'normal authorization' => 'AUTH_CAPTURE', 'authorization only' => 'AUTH_ONLY', 'credit' => 'CREDIT', 'post authorization' => 'PRIOR_AUTH_CAPTURE', 'void' => 'VOID', } |
|
map the types to the merchant’s action names
|