@@ -17,9 +17,9 @@ |
||
17 | 17 | // mandatory fields |
18 | 18 | 'Ds_Merchant_MerchantCode' => $this->getMerchantId(), |
19 | 19 | 'Ds_Merchant_Terminal' => $this->getTerminalId(), |
20 | - 'Ds_Merchant_TransactionType' => '0', // Authorisation |
|
20 | + 'Ds_Merchant_TransactionType' => '0', // Authorisation |
|
21 | 21 | 'Ds_Merchant_Amount' => $this->getAmountInteger(), |
22 | - 'Ds_Merchant_Currency' => $this->getCurrencyNumeric(), // uses ISO-4217 codes |
|
22 | + 'Ds_Merchant_Currency' => $this->getCurrencyNumeric(), // uses ISO-4217 codes |
|
23 | 23 | 'Ds_Merchant_Order' => $this->getTransactionId(), |
24 | 24 | 'Ds_Merchant_MerchantUrl' => $this->getNotifyUrl(), |
25 | 25 | // optional fields |
@@ -20,8 +20,8 @@ |
||
20 | 20 | 'DS_MERCHANT_ORDER' => $this->getTransactionId(), |
21 | 21 | 'DS_MERCHANT_MERCHANTCODE' => $this->getMerchantId(), |
22 | 22 | 'DS_MERCHANT_TERMINAL' => $this->getTerminalId(), |
23 | - 'DS_MERCHANT_CURRENCY' => $this->getCurrencyNumeric(), // uses ISO-4217 codes |
|
24 | - 'DS_MERCHANT_TRANSACTIONTYPE' => '3', // Refund |
|
23 | + 'DS_MERCHANT_CURRENCY' => $this->getCurrencyNumeric(), // uses ISO-4217 codes |
|
24 | + 'DS_MERCHANT_TRANSACTIONTYPE' => '3', // Refund |
|
25 | 25 | // undocumented fields |
26 | 26 | // 'DS_MERCHANT_MERCHANTDATA' => $this->getMerchantData(), |
27 | 27 | // 'DS_MERCHANT_MERCHANTNAME' => $this->getMerchantName(), |
@@ -25,10 +25,10 @@ |
||
25 | 25 | 'DS_MERCHANT_AMOUNT' => $this->getAmountInteger(), |
26 | 26 | 'DS_MERCHANT_ORDER' => $this->getTransactionId(), |
27 | 27 | 'DS_MERCHANT_MERCHANTCODE' => $this->getMerchantId(), |
28 | - 'DS_MERCHANT_CURRENCY' => $this->getCurrencyNumeric(), // uses ISO-4217 codes |
|
28 | + 'DS_MERCHANT_CURRENCY' => $this->getCurrencyNumeric(), // uses ISO-4217 codes |
|
29 | 29 | 'DS_MERCHANT_PAN' => $card->getNumber(), |
30 | 30 | 'DS_MERCHANT_CVV2' => $card->getCvv(), |
31 | - 'DS_MERCHANT_TRANSACTIONTYPE' => 'A', // 'Traditional payment' |
|
31 | + 'DS_MERCHANT_TRANSACTIONTYPE' => 'A', // 'Traditional payment' |
|
32 | 32 | 'DS_MERCHANT_TERMINAL' => $this->getTerminalId(), |
33 | 33 | 'DS_MERCHANT_EXPIRYDATE' => $card->getExpiryDate('ym'), |
34 | 34 | // undocumented fields |