From f722784d62a38cab64145d41e1fc1d38efeafa22 Mon Sep 17 00:00:00 2001 From: Dmitry Fedyuk Date: Tue, 5 Sep 2017 17:57:59 +0300 Subject: [PATCH] 1.1.15 --- Charge.php | 5 ++--- composer.json | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Charge.php b/Charge.php index a9c83b9..d40cdd5 100644 --- a/Charge.php +++ b/Charge.php @@ -125,9 +125,8 @@ protected function pCharge() {return [ */ //,'SignatureType' => 'SHA256' // 2017-04-10 «Customer contact number». Required, String, 20. - ,'UserContact' => mb_substr($this->addressBS()->getTelephone(), 0, 100) ?: 'absent' - // 2017-04-10 «Customer name». Required, String, 100. - ,'UserName' => $this->customerName() + ,'UserContact' => df_chop($this->addressBS()->getTelephone(), 0, 20) ?: 'absent' + ,'UserName' => $this->customerName() // 2017-04-10 «Customer name». Required, String, 100. ];} /** diff --git a/composer.json b/composer.json index ffd72d1..b7ecfba 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "mage2pro/ipay88" - ,"version": "1.1.14" + ,"version": "1.1.15" ,"description": "The «iPay88» payment extension for Magento 2." ,"type": "magento2-module" ,"homepage": "https://mage2.pro/c/extensions/ipay88"