Skip to content

Commit e66a9b6

Browse files
committed
removed financial warning
1 parent 58dc7f6 commit e66a9b6

File tree

3 files changed

+4
-12
lines changed

3 files changed

+4
-12
lines changed

Model/ConfigProvider/Method/Afterpay.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@ class Afterpay extends AbstractConfigProvider
5858
const XPATH_SPECIFIC_CUSTOMER_GROUP = 'payment/buckaroo_magento2_afterpay/specificcustomergroup';
5959
const XPATH_SPECIFIC_CUSTOMER_GROUP_B2B = 'payment/buckaroo_magento2_afterpay/specificcustomergroupb2b';
6060

61-
const XPATH_FINANCIAL_WARNING = 'payment/buckaroo_magento2_afterpay/financial_warning';
62-
6361
/**
6462
* @return array
6563
*/
@@ -87,8 +85,7 @@ public function getConfig()
8785
'subtext_color' => $this->getSubtextColor(),
8886
'allowedCurrencies' => $this->getAllowedCurrencies(),
8987
'businessMethod' => $this->getBusiness(),
90-
'paymentMethod' => $this->getPaymentMethod(),
91-
'showFinancialWarning' => $this->canShowFinancialWarning(self::XPATH_FINANCIAL_WARNING)
88+
'paymentMethod' => $this->getPaymentMethod()
9289
],
9390
'response' => [],
9491
],

Model/ConfigProvider/Method/Afterpay2.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@ class Afterpay2 extends AbstractConfigProvider
5858
const XPATH_SPECIFIC_CUSTOMER_GROUP = 'payment/buckaroo_magento2_afterpay2/specificcustomergroup';
5959
const XPATH_SPECIFIC_CUSTOMER_GROUP_B2B = 'payment/buckaroo_magento2_afterpay2/specificcustomergroupb2b';
6060

61-
const XPATH_FINANCIAL_WARNING = 'payment/buckaroo_magento2_afterpay2/financial_warning';
62-
6361
/**
6462
* @return array
6563
*/
@@ -87,8 +85,7 @@ public function getConfig()
8785
'subtext_color' => $this->getSubtextColor(),
8886
'allowedCurrencies' => $this->getAllowedCurrencies(),
8987
'businessMethod' => $this->getBusiness(),
90-
'paymentMethod' => $this->getPaymentMethod(),
91-
'showFinancialWarning' => $this->canShowFinancialWarning(self::XPATH_FINANCIAL_WARNING)
88+
'paymentMethod' => $this->getPaymentMethod()
9289
],
9390
'response' => [],
9491
],

Model/ConfigProvider/Method/Afterpay20.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,13 @@ class Afterpay20 extends AbstractConfigProvider
4949
const XPATH_AFTERPAY20_ALLOWED_CURRENCIES = 'payment/buckaroo_magento2_afterpay20/allowed_currencies';
5050
const XPATH_AFTERPAY20_CREATE_INVOICE_BY_SHIP =
5151
'payment/buckaroo_magento2_afterpay20/create_invoice_after_shipment';
52-
52+
5353
const XPATH_AFTERPAY20_CUSTOMER_TYPE = 'payment/buckaroo_magento2_afterpay20/customer_type';
5454
const XPATH_AFTERPAY20_MIN_AMOUNT_B2B = 'payment/buckaroo_magento2_afterpay20/min_amount_b2b';
5555
const XPATH_AFTERPAY20_MAX_AMOUNT_B2B = 'payment/buckaroo_magento2_afterpay20/max_amount_b2b';
56-
56+
5757

5858
const XPATH_SPECIFIC_CUSTOMER_GROUP = 'payment/buckaroo_magento2_afterpay20/specificcustomergroup';
59-
const XPATH_FINANCIAL_WARNING = 'payment/buckaroo_magento2_afterpay20/financial_warning';
6059

6160
/**
6261
* @return array
@@ -83,7 +82,6 @@ public function getConfig()
8382
'subtext_color' => $this->getSubtextColor(),
8483
'allowedCurrencies' => $this->getAllowedCurrencies(),
8584
'is_b2b' => $this->getCustomerType() !== AfterpayCustomerType::CUSTOMER_TYPE_B2C,
86-
'showFinancialWarning' => $this->canShowFinancialWarning(self::XPATH_FINANCIAL_WARNING)
8785
],
8886
'response' => [],
8987
],

0 commit comments

Comments
 (0)