Difference between revisions of "Template:Processing ACH payments"

From 360Works Product Documentation Wiki
Jump to navigation Jump to search
m
Line 14: Line 14:
 
  checkNumber;
 
  checkNumber;
 
  "achType=ARC" )]
 
  "achType=ARC" )]
 +
 +
'''Returns''': a verification code from the payment gateway service if the order is successful, or "ERROR" if there was a problem

Revision as of 18:32, 4 November 2013

Plastic 2 now supports payments via direct bank transfers and eChecks, via ACH payments. To take a payment via eCheck, use the CCProcessPaymentACH function after calling the gateway. The exact parameters that are required vary by gateway, but a typical example would look like:

Set Variable [$result; Value:
CCProcessPaymentACH (
merchantAccount;
transactionKey;
dollarAmount;
accountNumber;
routingNumber;
bankName;
accountType;
accountHolderFirstName; 
accountHolderLastName;
checkNumber;
"achType=ARC" )]

Returns: a verification code from the payment gateway service if the order is successful, or "ERROR" if there was a problem