Difference between revisions of "Template:Authorization"

From 360Works Product Documentation Wiki
Jump to navigation Jump to search
(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...")
(No difference)

Revision as of 19:29, 3 June 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.