Difference between revisions of "Template:Refunds"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
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. | 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( | + | CCRefund( |
− | + | {{{1|merchantAccount}}}; | |
− | + | {{{2|transactionKey}}}; | |
− | + | transactionID; | |
− | + | cardNumber; | |
− | + | dollarAmount)] | |
− |
Revision as of 17:21, 29 August 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)]