Skip to content

Commit

Permalink
1.5.19
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Aug 19, 2017
1 parent bb3f572 commit 432e0e9
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 12 deletions.
28 changes: 18 additions & 10 deletions Charge.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,24 @@ final class Charge extends \Df\PaypalClone\Charge {
*/
protected function k_Amount() {return 'EPS_AMOUNT';}

/**
* 2017-08-19
* 2016-08-26
* «5.1.1.12 Currency».
* Optional (default AUD)
* «If your bank supports multicurrency,
* you may optionally set the currency of the transaction to one other than AUD.»
* «Used to set the transaction currency sent to the bank for processing.
* You must have a bank merchant facility
* that accepts currencies other than AUD before using this feature.
* Set the currency to any ISO 4217 three letter currency code. E.g. USD, NZD, GBP, etc.»
* @override
* @see \Df\PaypalClone\Charge::k_Currency()
* @used-by \Df\PaypalClone\Charge::p()
* @return string
*/
protected function k_Currency() {return 'EPS_CURRENCY';}

/**
* 2017-08-19
* 2016-08-26
Expand Down Expand Up @@ -121,16 +139,6 @@ protected function pCharge() {$s = $this->s(); return [
// Поэтому оставил EPS_CALLBACKURL.
,'EPS_CALLBACKURL' => $this->callback()
// 2016-08-26
// «5.1.1.12 Currency».
// Optional (default AUD)
// «If your bank supports multicurrency,
// you may optionally set the currency of the transaction to one other than AUD.»
// «Used to set the transaction currency sent to the bank for processing.
// You must have a bank merchant facility
// that accepts currencies other than AUD before using this feature.
// Set the currency to any ISO 4217 three letter currency code. E.g. USD, NZD, GBP, etc.»
,'EPS_CURRENCY' => $this->currencyC()
// 2016-08-26
// Optional
// String, length 2, ISO 4217 currency code
// «Order delivery country two letter code»
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mage2pro/securepay"
,"version": "1.5.18"
,"version": "1.5.19"
,"description": "The «SecurePay» payment extension for Magento 2."
,"type": "magento2-module"
,"homepage": "https://mage2.pro/c/extensions/securepay"
Expand All @@ -11,7 +11,7 @@
"homepage": "https://mage2.pro/users/dmitry_fedyuk",
"role": "Developer"
}]
,"require": {"mage2pro/core": ">=2.10.33"}
,"require": {"mage2pro/core": ">=2.10.34"}
,"autoload": {"files": ["registration.php"], "psr-4": {"Dfe\\SecurePay\\": ""}}
,"keywords": [
"3D Secure"
Expand Down

0 comments on commit 432e0e9

Please sign in to comment.