Template:Refunds
From 360Works Product Documentation Wiki
(Difference between revisions)
(Created page with "To credit a transaction, you need the transaction ID returned by CCProcessPayment. Pass this (along with other payment info) to the CCRefund function. This is similar to the v...") |
|||
Line 2: | Line 2: | ||
<pre>Set Variable [$result; Value: | <pre>Set Variable [$result; Value: | ||
− | |||
CCRefund( | CCRefund( | ||
merchantAccount; | merchantAccount; |
Revision as of 19:31, 3 June 2013
To credit a transaction, you need the transaction ID returned by CCProcessPayment. Pass this (along with other payment info) to the CCRefund function. This is similar to the void process, except it accepts a dollar amount and the credit card number (or the last four digits of the credit card number) used to process the original transaction.
Set Variable [$result; Value: CCRefund( merchantAccount; transactionKey; transactionID; cardNumber; dollarAmount