Template:Authorization
From 360Works Product Documentation Wiki
(Difference between revisions)
(Created page with "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 fu...") |
m |
||
(2 intermediate revisions by one user not shown) | |||
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( |
− | merchantAccount, | + | {{{1|merchantAccount}}}, |
− | transactionKey; | + | {{{2|transactionKey}}}; |
− | chargeAmount; | + | chargeAmount; |
− | cardNumber; | + | cardNumber; |
− | 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.