Skip to content

Commit

Permalink
1.5.20
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Aug 19, 2017
1 parent 432e0e9 commit 227cf49
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
15 changes: 10 additions & 5 deletions Charge.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,16 @@ protected function k_Amount() {return 'EPS_AMOUNT';}
*/
protected function k_Currency() {return 'EPS_CURRENCY';}

/**
* 2017-08-19
* 2016-08-26 «Payee’s email address». Optional.
* @override
* @see \Df\PaypalClone\Charge::k_Email()
* @used-by \Df\PaypalClone\Charge::p()
* @return string
*/
protected function k_Email() {return 'EPS_EMAILADDRESS';}

/**
* 2017-08-19
* 2016-08-26
Expand Down Expand Up @@ -145,11 +155,6 @@ protected function pCharge() {$s = $this->s(); return [
,'EPS_DELIVERYCOUNTRY' => !$this->addressS() ? null : $this->addressS()->getCountryId()
// 2016-08-26
// Optional
// String, length 2, ISO 4217 currency code
// «Payee’s email address»
,'EPS_EMAILADDRESS' => $this->customerEmail()
// 2016-08-26
// Optional
// String, length less than 30
// «Payee’s first name»
,'EPS_FIRSTNAME' => $this->customerNameF()
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.19"
,"version": "1.5.20"
,"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.34"}
,"require": {"mage2pro/core": ">=2.10.35"}
,"autoload": {"files": ["registration.php"], "psr-4": {"Dfe\\SecurePay\\": ""}}
,"keywords": [
"3D Secure"
Expand Down

0 comments on commit 227cf49

Please sign in to comment.