From 19383ee625a9c91fb4ad54a64d97dd128559a74e Mon Sep 17 00:00:00 2001 From: Dmitry Fedyuk Date: Sat, 19 Aug 2017 11:20:37 +0300 Subject: [PATCH] 1.1.9 --- Charge.php | 20 ++++++++++++++------ composer.json | 4 ++-- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/Charge.php b/Charge.php index faeaa99..e78a900 100644 --- a/Charge.php +++ b/Charge.php @@ -20,6 +20,19 @@ final class Charge extends \Df\PaypalClone\Charge { * @return string */ protected function k_Amount() {return 'Amount';} + + /** + * 2017-08-19 + * 2017-04-10 + * «Refer to Appendix I.pdf file for MYR gateway. + * Refer to Appendix II.pdf file for Multi-curency gateway.». + * Required, String, 5. + * @override + * @see \Df\PaypalClone\Charge::k_Currency() + * @used-by \Df\PaypalClone\Charge::p() + * @return string + */ + protected function k_Currency() {return 'Currency';} /** * 2017-08-19 @@ -60,17 +73,12 @@ protected function k_Signature() {return 'Signature';} * @used-by \Df\PaypalClone\Charge::p() * @return array(string => mixed) */ - protected function pCharge() {$s = $this->s(); return [ + protected function pCharge() {return [ // 2017-04-10 // «Backend response page URL (refer to 2.7)». // Required, String, 200. 'BackendURL' => $this->callback() // 2017-04-10 - // «Refer to Appendix I.pdf file for MYR gateway. - // Refer to Appendix II.pdf file for Multi-curency gateway.». - // Required, String, 5. - ,'Currency' => $this->currencyC() - // 2017-04-10 // «Encoding type // “ISO-8859-1” – English // “UTF-8” – Unicode diff --git a/composer.json b/composer.json index 0aafcc9..eb9d415 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "mage2pro/ipay88" - ,"version": "1.1.8" + ,"version": "1.1.9" ,"description": "The «iPay88» payment extension for Magento 2." ,"type": "magento2-module" ,"homepage": "https://mage2.pro/c/extensions/ipay88" @@ -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\\IPay88\\": ""}} ,"keywords": [ "API"