From 957153ed9b03c906cb37f91782addcd3be219e6a Mon Sep 17 00:00:00 2001 From: prestamodule Date: Tue, 21 Feb 2023 12:23:04 +0100 Subject: [PATCH] Version 2.0.6 --- Block/Checkout/Payment.php | 10 ++++++++++ Block/Info.php | 15 +++++++++++++-- Block/Redirect.php | 4 ++-- CHANGELOG.md | 10 +++++++--- Gateway/Request/AuthorizationRequest.php | 5 +++++ Model/Paybox.php | 5 +++++ Model/Payment/AbstractPayment.php | 20 +++++++++++++++----- Model/Payment/Cb.php | 8 -------- Model/Payment/Financial.php | 6 ------ Model/Payment/Paybuttons.php | 7 ------- Model/Payment/Prepaid.php | 7 ------- Model/Payment/PrivateCard.php | 7 ------- Model/Payment/Threetime.php | 8 -------- Model/Ui/PbxepcbConfig.php | 6 ------ Model/Ui/PbxepcbConfigProvider.php | 5 +++++ Model/Ui/PbxepfinancialConfig.php | 6 ------ Model/Ui/PbxepfinancialConfigProvider.php | 5 +++++ Model/Ui/PbxeppaybuttonsConfig.php | 6 ------ Model/Ui/PbxeppaybuttonsConfigProvider.php | 5 +++++ Model/Ui/PbxepprepaidConfig.php | 6 ------ Model/Ui/PbxepprepaidConfigProvider.php | 5 +++++ Model/Ui/PbxepprivateConfig.php | 6 ------ Model/Ui/PbxepprivateConfigProvider.php | 5 +++++ Model/Ui/PbxepthreetimeConfig.php | 6 ------ Model/Ui/PbxepthreetimeConfigProvider.php | 5 +++++ composer.json | 4 ++-- etc/adminhtml/system/pbxep_cb.xml | 18 +++++++++--------- etc/adminhtml/system/pbxep_threetime.xml | 9 --------- etc/config.xml | 1 + etc/module.xml | 4 ++-- i18n/fr_FR.csv | 3 +++ view/frontend/web/js/view/payment/pbxep.js | 4 ++-- 32 files changed, 106 insertions(+), 115 deletions(-) diff --git a/Block/Checkout/Payment.php b/Block/Checkout/Payment.php index 8ab16bd..3574cde 100644 --- a/Block/Checkout/Payment.php +++ b/Block/Checkout/Payment.php @@ -46,6 +46,11 @@ public function getCreditCards() { $result = []; $cards = $this->getMethod()->getCards(); + + if ($this->getMethod()->getConfigData('cctypes') == null) { + return $result; + } + $selected = explode(',', $this->getMethod()->getConfigData('cctypes')); foreach ($cards as $code => $card) { if (in_array($code, $selected)) { @@ -59,6 +64,11 @@ public function getCards() { $result = []; $cards = $this->getMethod()->getCards(); + + if ($this->getMethod()->getConfigData('cctypes') == null) { + return $result; + } + $selected = explode(',', $this->getMethod()->getConfigData('cctypes')); foreach ($cards as $code => $card) { if (in_array($code, $selected)) { diff --git a/Block/Info.php b/Block/Info.php index 52f7c15..ec80eea 100644 --- a/Block/Info.php +++ b/Block/Info.php @@ -67,6 +67,11 @@ public function getCreditCards() { $result = []; $cards = $this->getMethod()->getCards(); + + if ($this->getMethod()->getConfigData('cctypes') == null) { + return $result; + } + $selected = explode(',', $this->getMethod()->getConfigData('cctypes')); foreach ($cards as $code => $card) { if (in_array($code, $selected)) { @@ -78,6 +83,11 @@ public function getCreditCards() public function getPayboxData() { + + if (empty($this->getInfo()->getPbxepAuthorization())) { + return []; + } + return unserialize($this->getInfo()->getPbxepAuthorization()); } @@ -94,7 +104,6 @@ public function getPayboxConfig() public function getCardImageUrl() { $data = $this->getPayboxData(); - $cards = $this->getCreditCards(); if (!isset($data['cardType'])) { return null; } @@ -107,13 +116,15 @@ public function getCardImageUrl() public function getCardImageLabel() { $data = $this->getPayboxData(); - $cards = $this->getCreditCards(); if (!isset($data['cardType'])) { return null; } + + $cards = $this->getCreditCards(); if (!isset($cards[$data['cardType']])) { return null; } + $card = $cards[$data['cardType']]; return $card['label']; } diff --git a/Block/Redirect.php b/Block/Redirect.php index 8ad5735..0e71542 100644 --- a/Block/Redirect.php +++ b/Block/Redirect.php @@ -28,8 +28,8 @@ class Redirect extends \Magento\Framework\View\Element\Template public function __construct( \Magento\Framework\View\Element\Template\Context $context, - array $data = [], - \Paybox\Epayment\Helper\Data $helper + \Paybox\Epayment\Helper\Data $helper, + array $data = [] ) { parent::__construct($context, $data); diff --git a/CHANGELOG.md b/CHANGELOG.md index d2ca9ec..6989c34 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,11 @@ # Change Log -## [2.0.5] 2022-07-12 -- Order button on wait -- various minor bugfixes +## [2.0.6] 2023-02-08 +- Add 3DS exemption +- Update 3DSv2 fields +- HMAC auth +- Fix Magento 2.4.5 & PHP 8 compatibility +- Set CB mode to simple mode instead of multi +- Fix possible invalid value for CountryCode ## [2.0.4] 2021-03-16 - fixing name of model Creditagricole diff --git a/Gateway/Request/AuthorizationRequest.php b/Gateway/Request/AuthorizationRequest.php index 84c46f9..b1c4bd9 100644 --- a/Gateway/Request/AuthorizationRequest.php +++ b/Gateway/Request/AuthorizationRequest.php @@ -186,6 +186,11 @@ public function build(array $buildSubject) $values['PBX_SHOPPINGCART'] = $payment->getXmlShoppingCartInformation($order); $values['PBX_BILLING'] = $payment->getXmlBillingInformation($order); + // Check for 3DS exemption + if ($payment->getConfigData('exemption_3ds_max_amount') && $orderAmount <= $payment->getConfigData('exemption_3ds_max_amount')) { + $values['PBX_SOUHAITAUTHENT'] = '02'; + } + // Sort parameters for simpler debug ksort($values); diff --git a/Model/Paybox.php b/Model/Paybox.php index 1d5e8c7..4fc29ab 100644 --- a/Model/Paybox.php +++ b/Model/Paybox.php @@ -505,6 +505,11 @@ public function buildSystemParams(Order $order, AbstractPayment $payment) $values['PBX_SHOPPINGCART'] = $payment->getXmlShoppingCartInformation($order); $values['PBX_BILLING'] = $payment->getXmlBillingInformation($order); + // Check for 3DS exemption + if ($payment->getConfigData('exemption_3ds_max_amount') && $orderAmount <= $payment->getConfigData('exemption_3ds_max_amount')) { + $values['PBX_SOUHAITAUTHENT'] = '02'; + } + // Sort parameters for simpler debug ksort($values); diff --git a/Model/Payment/AbstractPayment.php b/Model/Payment/AbstractPayment.php index 6a4de10..16ec94e 100644 --- a/Model/Payment/AbstractPayment.php +++ b/Model/Payment/AbstractPayment.php @@ -566,9 +566,12 @@ public function isAvailable(\Magento\Quote\Api\Data\CartInterface $quote = null) if ($this->getHasCctypes()) { $cctypes = $this->getConfigData('cctypes', ($quote ? $quote->getStoreId() : null)); - $cctypes = preg_replace('/NONE,?/', '', $cctypes); + if (!is_null($cctypes)) { + $cctypes = preg_replace('/NONE,?/', '', $cctypes); + } return !empty($cctypes); } + return true; } return false; @@ -602,6 +605,7 @@ protected function formatTextValue($value, $type, $maxLength = null) $value = preg_replace('/[^-. a-zA-Z0-9]/', '', $value); break; case 'ANS': + $value = $this->_objectManager->get('Magento\Framework\Filter\RemoveAccents')->filter($value); break; case 'N': $value = preg_replace('/[^0-9.]/', '', $value); @@ -625,7 +629,7 @@ protected function formatTextValue($value, $type, $maxLength = null) } } - return $value; + return trim($value); } /** @@ -661,17 +665,23 @@ public function getXmlBillingInformation(Order $order) // Retrieve billing address from order $address = $order->getBillingAddress(); - $firstName = $this->formatTextValue($address->getFirstName(), 'ANP', 22); - $lastName = $this->formatTextValue($address->getLastName(), 'ANP', 22); + $firstName = $this->formatTextValue($address->getFirstName(), 'ANS', 22); + $lastName = $this->formatTextValue($address->getLastName(), 'ANS', 22); $addressLine1 = $this->formatTextValue($address->getStreetLine(1), 'ANS', 50); $addressLine2 = $this->formatTextValue($address->getStreetLine(2), 'ANS', 50); $zipCode = $this->formatTextValue($address->getPostcode(), 'ANS', 10); $city = $this->formatTextValue($address->getCity(), 'ANS', 50); $countryMapper = $this->_objectManager->get('Paybox\Epayment\Model\Iso3166Country'); $countryCode = (int)$countryMapper->getNumericCode($address->getCountryId()); + $countryCodeFormat = '%03d'; + if (empty($countryCode)) { + // Send empty string to CountryCode instead of 000 + $countryCodeFormat = '%s'; + $countryCode = ''; + } $xml = sprintf( - '
%s%s%s%s%s%s%03d
', + '
%s%s%s%s%s%s' . $countryCodeFormat . '
', $firstName, $lastName, $addressLine1, diff --git a/Model/Payment/Cb.php b/Model/Payment/Cb.php index c99c4a6..b0a1d6b 100644 --- a/Model/Payment/Cb.php +++ b/Model/Payment/Cb.php @@ -26,20 +26,12 @@ class Cb extends AbstractPayment { const CODE = 'pbxep_cb'; - const XML_PATH = 'payment/pbxep_cb/cctypes'; protected $_code = self::CODE; - protected $_hasCctypes = true; protected $_allowManualDebit = true; protected $_allowDeferredDebit = true; protected $_allowRefund = true; - public function getReceipentEmail() - { - $storeScope = \Magento\Store\Model\ScopeInterface::SCOPE_STORE; - return $this->_scopeConfig->getValue(self::XML_PATH, $storeScope); - } - public function toOptionArray() { $result = []; diff --git a/Model/Payment/Financial.php b/Model/Payment/Financial.php index c29e33a..803f1d2 100644 --- a/Model/Payment/Financial.php +++ b/Model/Payment/Financial.php @@ -32,12 +32,6 @@ class Financial extends AbstractPayment protected $_allowDeferredDebit = true; protected $_allowRefund = true; - public function getReceipentEmail() - { - $storeScope = \Magento\Store\Model\ScopeInterface::SCOPE_STORE; - return $this->_scopeConfig->getValue(self::XML_PATH, $storeScope); - } - public function toOptionArray() { $result = []; diff --git a/Model/Payment/Paybuttons.php b/Model/Payment/Paybuttons.php index 85cd171..587afdf 100644 --- a/Model/Payment/Paybuttons.php +++ b/Model/Payment/Paybuttons.php @@ -24,7 +24,6 @@ class Paybuttons extends AbstractPayment { const CODE = 'pbxep_paybuttons'; - const XML_PATH = 'payment/pbxep_paybuttons/cctypes'; protected $_code = self::CODE; protected $_hasCctypes = true; @@ -32,12 +31,6 @@ class Paybuttons extends AbstractPayment protected $_allowDeferredDebit = true; protected $_allowRefund = true; - public function getReceipentEmail() - { - $storeScope = \Magento\Store\Model\ScopeInterface::SCOPE_STORE; - return $this->_scopeConfig->getValue(self::XML_PATH, $storeScope); - } - public function toOptionArray() { $result = []; diff --git a/Model/Payment/Prepaid.php b/Model/Payment/Prepaid.php index 36697d7..e6f3747 100644 --- a/Model/Payment/Prepaid.php +++ b/Model/Payment/Prepaid.php @@ -24,7 +24,6 @@ class Prepaid extends AbstractPayment { const CODE = 'pbxep_prepaid'; - const XML_PATH = 'payment/pbxep_prepaid/cctypes'; protected $_code = self::CODE; protected $_hasCctypes = true; @@ -32,12 +31,6 @@ class Prepaid extends AbstractPayment protected $_allowDeferredDebit = true; protected $_allowRefund = true; - public function getReceipentEmail() - { - $storeScope = \Magento\Store\Model\ScopeInterface::SCOPE_STORE; - return $this->_scopeConfig->getValue(self::XML_PATH, $storeScope); - } - public function toOptionArray() { $result = []; diff --git a/Model/Payment/PrivateCard.php b/Model/Payment/PrivateCard.php index 373da5d..54db172 100644 --- a/Model/Payment/PrivateCard.php +++ b/Model/Payment/PrivateCard.php @@ -24,7 +24,6 @@ class PrivateCard extends AbstractPayment { const CODE = 'pbxep_private'; - const XML_PATH = 'payment/pbxep_private/cctypes'; protected $_code = self::CODE; protected $_hasCctypes = true; @@ -32,12 +31,6 @@ class PrivateCard extends AbstractPayment protected $_allowDeferredDebit = true; protected $_allowRefund = true; - public function getReceipentEmail() - { - $storeScope = \Magento\Store\Model\ScopeInterface::SCOPE_STORE; - return $this->_scopeConfig->getValue(self::XML_PATH, $storeScope); - } - public function toOptionArray() { $result = []; diff --git a/Model/Payment/Threetime.php b/Model/Payment/Threetime.php index 209ae82..00daa9f 100644 --- a/Model/Payment/Threetime.php +++ b/Model/Payment/Threetime.php @@ -28,20 +28,12 @@ class Threetime extends AbstractPayment { const CODE = 'pbxep_threetime'; - const XML_PATH = 'payment/pbxep_threetime/cctypes'; protected $_code = self::CODE; - protected $_hasCctypes = true; protected $_allowManualDebit = true; protected $_allowDeferredDebit = true; protected $_allowRefund = true; - public function getReceipentEmail() - { - $storeScope = \Magento\Store\Model\ScopeInterface::SCOPE_STORE; - return $this->_scopeConfig->getValue(self::XML_PATH, $storeScope); - } - public function toOptionArray() { $result = []; diff --git a/Model/Ui/PbxepcbConfig.php b/Model/Ui/PbxepcbConfig.php index 11286d9..fa1bf35 100644 --- a/Model/Ui/PbxepcbConfig.php +++ b/Model/Ui/PbxepcbConfig.php @@ -66,12 +66,6 @@ public function __construct(\Magento\Framework\App\Config\ScopeConfigInterface $ $this->scopeConfig = $scopeConfig; } - public function getReceipentEmail() - { - $storeScope = \Magento\Store\Model\ScopeInterface::SCOPE_STORE; - return $this->scopeConfig->getValue(self::PAYMENT_METHOD_PBXEPCB_XML_PATH, $storeScope); - } - /** * @return string */ diff --git a/Model/Ui/PbxepcbConfigProvider.php b/Model/Ui/PbxepcbConfigProvider.php index 8d6846b..b7405dc 100644 --- a/Model/Ui/PbxepcbConfigProvider.php +++ b/Model/Ui/PbxepcbConfigProvider.php @@ -59,6 +59,11 @@ public function getCards() $cards = []; $types = $pbxepcbConfig->getCards(); + + if (is_null($types)) { + return $cards; + } + if (!is_array($types)) { $types = explode(',', $types); } diff --git a/Model/Ui/PbxepfinancialConfig.php b/Model/Ui/PbxepfinancialConfig.php index 831ec17..43de9f3 100644 --- a/Model/Ui/PbxepfinancialConfig.php +++ b/Model/Ui/PbxepfinancialConfig.php @@ -66,12 +66,6 @@ public function __construct(\Magento\Framework\App\Config\ScopeConfigInterface $ $this->scopeConfig = $scopeConfig; } - public function getReceipentEmail() - { - $storeScope = \Magento\Store\Model\ScopeInterface::SCOPE_STORE; - return $this->scopeConfig->getValue(self::PAYMENT_METHOD_PBXEPFINANCIAL_XML_PATH, $storeScope); - } - /** * @return string */ diff --git a/Model/Ui/PbxepfinancialConfigProvider.php b/Model/Ui/PbxepfinancialConfigProvider.php index c68a9e0..2690696 100644 --- a/Model/Ui/PbxepfinancialConfigProvider.php +++ b/Model/Ui/PbxepfinancialConfigProvider.php @@ -60,6 +60,11 @@ public function getCards() $cards = []; $types = $pbxepfinancialConfig->getCards(); + + if (is_null($types)) { + return $cards; + } + if (!is_array($types)) { $types = explode(',', $types); } diff --git a/Model/Ui/PbxeppaybuttonsConfig.php b/Model/Ui/PbxeppaybuttonsConfig.php index 2432172..7fdd5ca 100644 --- a/Model/Ui/PbxeppaybuttonsConfig.php +++ b/Model/Ui/PbxeppaybuttonsConfig.php @@ -66,12 +66,6 @@ public function __construct(\Magento\Framework\App\Config\ScopeConfigInterface $ $this->scopeConfig = $scopeConfig; } - public function getReceipentEmail() - { - $storeScope = \Magento\Store\Model\ScopeInterface::SCOPE_STORE; - return $this->scopeConfig->getValue(self::PAYMENT_METHOD_PBXEPPAYBUTTONS_XML_PATH, $storeScope); - } - /** * @return string */ diff --git a/Model/Ui/PbxeppaybuttonsConfigProvider.php b/Model/Ui/PbxeppaybuttonsConfigProvider.php index 3223c6f..88f5196 100644 --- a/Model/Ui/PbxeppaybuttonsConfigProvider.php +++ b/Model/Ui/PbxeppaybuttonsConfigProvider.php @@ -60,6 +60,11 @@ public function getCards() $cards = []; $types = $pbxeppaybuttonsConfig->getCards(); + + if (is_null($types)) { + return $cards; + } + if (!is_array($types)) { $types = explode(',', $types); } diff --git a/Model/Ui/PbxepprepaidConfig.php b/Model/Ui/PbxepprepaidConfig.php index 41865ae..3754758 100644 --- a/Model/Ui/PbxepprepaidConfig.php +++ b/Model/Ui/PbxepprepaidConfig.php @@ -56,12 +56,6 @@ public function __construct(\Magento\Framework\App\Config\ScopeConfigInterface $ $this->scopeConfig = $scopeConfig; } - public function getReceipentEmail() - { - $storeScope = \Magento\Store\Model\ScopeInterface::SCOPE_STORE; - return $this->scopeConfig->getValue(self::PAYMENT_METHOD_PBXEPPREPAID_XML_PATH, $storeScope); - } - /** * @return string */ diff --git a/Model/Ui/PbxepprepaidConfigProvider.php b/Model/Ui/PbxepprepaidConfigProvider.php index 8d2b256..743aef8 100644 --- a/Model/Ui/PbxepprepaidConfigProvider.php +++ b/Model/Ui/PbxepprepaidConfigProvider.php @@ -60,6 +60,11 @@ public function getCards() $cards = []; $types = $pbxepprepaidConfig->getCards(); + + if (is_null($types)) { + return $cards; + } + if (!is_array($types)) { $types = explode(',', $types); } diff --git a/Model/Ui/PbxepprivateConfig.php b/Model/Ui/PbxepprivateConfig.php index ce3d370..88f9947 100644 --- a/Model/Ui/PbxepprivateConfig.php +++ b/Model/Ui/PbxepprivateConfig.php @@ -66,12 +66,6 @@ public function __construct(\Magento\Framework\App\Config\ScopeConfigInterface $ $this->scopeConfig = $scopeConfig; } - public function getReceipentEmail() - { - $storeScope = \Magento\Store\Model\ScopeInterface::SCOPE_STORE; - return $this->scopeConfig->getValue(self::PAYMENT_METHOD_PBXEPPRIVATE_XML_PATH, $storeScope); - } - /** * @return string */ diff --git a/Model/Ui/PbxepprivateConfigProvider.php b/Model/Ui/PbxepprivateConfigProvider.php index c15e736..a6047f4 100644 --- a/Model/Ui/PbxepprivateConfigProvider.php +++ b/Model/Ui/PbxepprivateConfigProvider.php @@ -60,6 +60,11 @@ public function getCards() $cards = []; $types = $pbxepprivateConfig->getCards(); + + if (is_null($types)) { + return $cards; + } + if (!is_array($types)) { $types = explode(',', $types); } diff --git a/Model/Ui/PbxepthreetimeConfig.php b/Model/Ui/PbxepthreetimeConfig.php index ad2d076..7d2767b 100644 --- a/Model/Ui/PbxepthreetimeConfig.php +++ b/Model/Ui/PbxepthreetimeConfig.php @@ -66,12 +66,6 @@ public function __construct(\Magento\Framework\App\Config\ScopeConfigInterface $ $this->scopeConfig = $scopeConfig; } - public function getReceipentEmail() - { - $storeScope = \Magento\Store\Model\ScopeInterface::SCOPE_STORE; - return $this->scopeConfig->getValue(self::PAYMENT_METHOD_PBXEPTHREETIME_XML_PATH, $storeScope); - } - /** * @return string */ diff --git a/Model/Ui/PbxepthreetimeConfigProvider.php b/Model/Ui/PbxepthreetimeConfigProvider.php index 11137ad..cfb1497 100644 --- a/Model/Ui/PbxepthreetimeConfigProvider.php +++ b/Model/Ui/PbxepthreetimeConfigProvider.php @@ -60,6 +60,11 @@ public function getCards() $cards = []; $types = $pbxepthreetimeConfig->getCards(); + + if (is_null($types)) { + return $cards; + } + if (!is_array($types)) { $types = explode(',', $types); } diff --git a/composer.json b/composer.json index 5a7f1f9..97e53d5 100644 --- a/composer.json +++ b/composer.json @@ -2,13 +2,13 @@ "name": "paybox/epayment", "description": "Epayment payment module for Magento 2.3/2.4", "type": "magento2-module", - "version": "2.0.5", + "version": "2.0.6", "license": [ "OSL-3.0", "AFL-3.0" ], "require": { - "php": "^7.1.3" + "php": "~7.4.0||~8.1.0" }, "autoload": { "files": [ "registration.php" ], diff --git a/etc/adminhtml/system/pbxep_cb.xml b/etc/adminhtml/system/pbxep_cb.xml index e5252c0..7aeaa63 100644 --- a/etc/adminhtml/system/pbxep_cb.xml +++ b/etc/adminhtml/system/pbxep_cb.xml @@ -30,15 +30,6 @@ Magento\Config\Model\Config\Source\Yesno payment/pbxep_cb/active - - - - payment/pbxep_cb/cctypes - Paybox\Epayment\Model\Admin\Cards\Cb - - 1 - - payment/pbxep_cb/title @@ -71,6 +62,15 @@ 1 + + + + payment/pbxep_cb/exemption_3ds_max_amount + + 1 + + validate-number-range number-range-0-30 + 0 diff --git a/etc/adminhtml/system/pbxep_threetime.xml b/etc/adminhtml/system/pbxep_threetime.xml index 3b8c954..a2e82a0 100644 --- a/etc/adminhtml/system/pbxep_threetime.xml +++ b/etc/adminhtml/system/pbxep_threetime.xml @@ -37,15 +37,6 @@ payment/pbxep_threetime/active Magento\Config\Model\Config\Source\Yesno - - - - payment/pbxep_threetime/cctypes - Paybox\Epayment\Model\Admin\Cards\Threetime - - 1 - - payment/pbxep_threetime/title diff --git a/etc/config.xml b/etc/config.xml index 6eccd81..41dac93 100644 --- a/etc/config.xml +++ b/etc/config.xml @@ -63,6 +63,7 @@ pbxep_authorized immediate 1 + diff --git a/etc/module.xml b/etc/module.xml index 8d1fc62..6deb099 100644 --- a/etc/module.xml +++ b/etc/module.xml @@ -13,7 +13,7 @@ * to obtain it through the web, please send a note to * support@paybox.com so we can mail you a copy immediately. * - * @version 2.0.5 + * @version 2.0.6 * @author BM Services * @copyright 2012-2017 Verifone e-commerce * @license http://opensource.org/licenses/OSL-3.0 @@ -21,7 +21,7 @@ */ --> - + diff --git a/i18n/fr_FR.csv b/i18n/fr_FR.csv index 869cff2..1dcc5fb 100644 --- a/i18n/fr_FR.csv +++ b/i18n/fr_FR.csv @@ -167,3 +167,6 @@ "You notified customer about invoice #%1.","Le client a été notifié de la création de la facture #%1." "Captured amount of %1 online.","Montant capturé de %1 en ligne." + +"3DS exemption","Exemption 3DS" +"Enable 3DS exemption means of payment only for orders with amount equal or smaller than the amount configured (let it empty for no condition)","Activer l'exemption 3DS pour les commandes dont le montant est inférieur ou égal au montant indiqué (laissez vide pour ne pas activer cette condition)" diff --git a/view/frontend/web/js/view/payment/pbxep.js b/view/frontend/web/js/view/payment/pbxep.js index 92ecc83..f9955ca 100644 --- a/view/frontend/web/js/view/payment/pbxep.js +++ b/view/frontend/web/js/view/payment/pbxep.js @@ -32,11 +32,11 @@ define( rendererList.push( { type: 'pbxep_cb', - component: 'Paybox_Epayment/js/view/payment/method-renderer/pbxep_multi-method' + component: 'Paybox_Epayment/js/view/payment/method-renderer/pbxep_simple-method' }, { type: 'pbxep_threetime', - component: 'Paybox_Epayment/js/view/payment/method-renderer/pbxep_multi-method' + component: 'Paybox_Epayment/js/view/payment/method-renderer/pbxep_simple-method' }, { type: 'pbxep_paypal',