Accepting Credit Card Payment

When a purchase request is accepted, a form of payment will often be required. To accept credit cards, define the Payment_Method form element to any of the elements except Manual,C.O.D., or Electronic Check. The Transact e-commerce engine will attempt to authorize the transaction immediately.

If the online transaction fails, the user will be returned to the previous page, with the error message supplied to the <!-- ERROR_MESSAGE --> macro.

Credit Card Required Fields
Form Element Valid Input Description
Auth_Type Normal Authorization -or- Authorization Only What operation to perform? See below
Payment_Method Visa, MasterCard, AMEX, or Discover Card type
Credit_Card_Number xxxx xxxx xxxx xxxx Credit Card number (spaces or dashes are ignored)
Credit_Card_Expiration mm/yy or mm/yyyy Credit Card expiration date
Alternatively, you can specify the expiration date using two form elements instead of one.
Credit_Card_Expiration_Month mm Credit Card expiration month
Credit_Card_Expiration_Year yy or yyyy Credit Card expiration year

Authorization Type

Normally, all purchases should be AuthCapture (the default if not specified). If an order cannot be shipped within 24 hours, merchant service agreements universally require that an Authorization Only charge be done. When the order is completed and shipped, the merchant can use the Admin Tool to capture (finalize) the charge.

Accepting Electronic Check Payment

To accept payment via electronic check, three form elements must be added to the Purchase Screen.

Form Element Value
Payment_Method Electronic Check
Check_Bank_Name Bank Name
Check_Routing_Code Bank Routing Number
Check_Account_Number Account Number


Main Menu       Next Page