Template:Refunds

From 360Works Product Documentation Wiki
(Difference between revisions)
Jump to: navigation, search
(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...")
 
m
 
(3 intermediate revisions by one user not shown)
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.
  
<pre>Set Variable [$result; Value:
+
Set Variable [$result; Value:
 +
CCRefund(
 +
  {{{1|merchantAccount}}};
 +
  {{{2|transactionKey}}};
 +
  transactionID;
 +
  cardNumber;
 +
  dollarAmount)]
  
CCRefund(
+
'''Returns''': the transactionID from the payment gateway service if the order is successful, or "ERROR" if there was a problem
merchantAccount;
+
transactionKey;
+
transactionID;
+
cardNumber;
+
dollarAmount
+
</pre>
+

Latest revision as of 18:33, 4 November 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)]

Returns: the transactionID from the payment gateway service if the order is successful, or "ERROR" if there was a problem

Personal tools
Namespaces

Variants
Actions
Plug-in Products
Other Products
Navigation
Toolbox