@@ -34,7 +34,7 @@ |
||
| 34 | 34 | */ |
| 35 | 35 | protected function decodeMerchantParameters($data) |
| 36 | 36 | { |
| 37 | - return (array)json_decode(base64_decode(strtr($data, '-_', '+/'))); |
|
| 37 | + return (array) json_decode(base64_decode(strtr($data, '-_', '+/'))); |
|
| 38 | 38 | } |
| 39 | 39 | |
| 40 | 40 | /** |
@@ -139,9 +139,9 @@ |
||
| 139 | 139 | // mandatory fields |
| 140 | 140 | 'Ds_Merchant_MerchantCode' => $this->getMerchantId(), |
| 141 | 141 | 'Ds_Merchant_Terminal' => $this->getTerminalId(), |
| 142 | - 'Ds_Merchant_TransactionType' => '0', // Authorisation |
|
| 142 | + 'Ds_Merchant_TransactionType' => '0', // Authorisation |
|
| 143 | 143 | 'Ds_Merchant_Amount' => $this->getAmountInteger(), |
| 144 | - 'Ds_Merchant_Currency' => $this->getCurrencyNumeric(), // uses ISO-4217 codes |
|
| 144 | + 'Ds_Merchant_Currency' => $this->getCurrencyNumeric(), // uses ISO-4217 codes |
|
| 145 | 145 | 'Ds_Merchant_Order' => $this->getTransactionId(), |
| 146 | 146 | 'Ds_Merchant_MerchantUrl' => $this->getNotifyUrl(), |
| 147 | 147 | // optional fields |