Template:Authorization
From 360Works Product Documentation Wiki
(Difference between revisions)
m |
|||
Line 11: | Line 11: | ||
expDate; | expDate; | ||
authMode=AUTH_ONLY)] | authMode=AUTH_ONLY)] | ||
+ | |||
+ | '''Returns''': a verification code from the payment gateway service if the order is successful, or "ERROR" if there was a problem | ||
After running an authorization, run the appropriate '''CCProcessAuthorizedPayment.''' Pass in the previousTransactionId from the transaction ID you received from the process with authMode. | After running an authorization, run the appropriate '''CCProcessAuthorizedPayment.''' Pass in the previousTransactionId from the transaction ID you received from the process with authMode. |
Latest revision as of 18:09, 4 November 2013
A sale transaction for credit card contains two parts: an authorization which verifies and places a hold for the amount, and a capture, which actually transfers the funds.
To run an authorization, pass in an additional parameter authMode=AUTH_ONLY.
Set Variable [$result Value: CCProcessPayment( merchantAccount, transactionKey; chargeAmount; cardNumber; expDate; authMode=AUTH_ONLY)]
Returns: a verification code from the payment gateway service if the order is successful, or "ERROR" if there was a problem
After running an authorization, run the appropriate CCProcessAuthorizedPayment. Pass in the previousTransactionId from the transaction ID you received from the process with authMode.