Template:Authorization
From 360Works Product Documentation Wiki
(Difference between revisions)
Line 3: | Line 3: | ||
To run an authorization, pass in an additional parameter '''authMode=AUTH_ONLY'''. | To run an authorization, pass in an additional parameter '''authMode=AUTH_ONLY'''. | ||
− | + | Set Variable [$result Value: | |
− | CCProcessPayment( | + | CCProcessPayment( |
− | {{{1|merchantAccount}}}, | + | {{{1|merchantAccount}}}, |
− | {{{2|transactionKey}}}; | + | {{{2|transactionKey}}}; |
− | chargeAmount; | + | chargeAmount; |
− | cardNumber; | + | cardNumber; |
− | expDate; | + | expDate; |
− | authMode=AUTH_ONLY)] | + | authMode=AUTH_ONLY)] |
− | + | ||
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. |
Revision as of 17:05, 29 August 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)]
After running an authorization, run the appropriate CCProcessAuthorizedPayment. Pass in the previousTransactionId from the transaction ID you received from the process with authMode.