diff --git a/Charge.php b/Charge.php index 3ac3515..5af4e5b 100644 --- a/Charge.php +++ b/Charge.php @@ -152,7 +152,7 @@ protected function pCharge() {$s = $this->s(); return [ // Optional // String, length 2, ISO 4217 currency code // «Order delivery country two letter code» - ,'EPS_DELIVERYCOUNTRY' => !$this->addressS() ? null : $this->addressS()->getCountryId() + ,'EPS_DELIVERYCOUNTRY' => $this->addressS(true)->getCountryId() // 2016-08-26 // Optional // String, length less than 30 diff --git a/composer.json b/composer.json index f93dd26..dd222af 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "mage2pro/securepay" - ,"version": "1.6.3" + ,"version": "1.6.4" ,"description": "The «SecurePay» payment extension for Magento 2." ,"type": "magento2-module" ,"homepage": "https://mage2.pro/c/extensions/securepay" @@ -11,7 +11,7 @@ "homepage": "https://mage2.pro/users/dmitry_fedyuk", "role": "Developer" }] - ,"require": {"mage2pro/core": ">=3.2.2"} + ,"require": {"mage2pro/core": ">=3.2.27"} ,"autoload": {"files": ["registration.php"], "psr-4": {"Dfe\\SecurePay\\": ""}} ,"keywords": [ "3D Secure"