File tree Expand file tree Collapse file tree 3 files changed +4
-12
lines changed
Model/ConfigProvider/Method Expand file tree Collapse file tree 3 files changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -58,8 +58,6 @@ class Afterpay extends AbstractConfigProvider
58
58
const XPATH_SPECIFIC_CUSTOMER_GROUP = 'payment/buckaroo_magento2_afterpay/specificcustomergroup ' ;
59
59
const XPATH_SPECIFIC_CUSTOMER_GROUP_B2B = 'payment/buckaroo_magento2_afterpay/specificcustomergroupb2b ' ;
60
60
61
- const XPATH_FINANCIAL_WARNING = 'payment/buckaroo_magento2_afterpay/financial_warning ' ;
62
-
63
61
/**
64
62
* @return array
65
63
*/
@@ -87,8 +85,7 @@ public function getConfig()
87
85
'subtext_color ' => $ this ->getSubtextColor (),
88
86
'allowedCurrencies ' => $ this ->getAllowedCurrencies (),
89
87
'businessMethod ' => $ this ->getBusiness (),
90
- 'paymentMethod ' => $ this ->getPaymentMethod (),
91
- 'showFinancialWarning ' => $ this ->canShowFinancialWarning (self ::XPATH_FINANCIAL_WARNING )
88
+ 'paymentMethod ' => $ this ->getPaymentMethod ()
92
89
],
93
90
'response ' => [],
94
91
],
Original file line number Diff line number Diff line change @@ -58,8 +58,6 @@ class Afterpay2 extends AbstractConfigProvider
58
58
const XPATH_SPECIFIC_CUSTOMER_GROUP = 'payment/buckaroo_magento2_afterpay2/specificcustomergroup ' ;
59
59
const XPATH_SPECIFIC_CUSTOMER_GROUP_B2B = 'payment/buckaroo_magento2_afterpay2/specificcustomergroupb2b ' ;
60
60
61
- const XPATH_FINANCIAL_WARNING = 'payment/buckaroo_magento2_afterpay2/financial_warning ' ;
62
-
63
61
/**
64
62
* @return array
65
63
*/
@@ -87,8 +85,7 @@ public function getConfig()
87
85
'subtext_color ' => $ this ->getSubtextColor (),
88
86
'allowedCurrencies ' => $ this ->getAllowedCurrencies (),
89
87
'businessMethod ' => $ this ->getBusiness (),
90
- 'paymentMethod ' => $ this ->getPaymentMethod (),
91
- 'showFinancialWarning ' => $ this ->canShowFinancialWarning (self ::XPATH_FINANCIAL_WARNING )
88
+ 'paymentMethod ' => $ this ->getPaymentMethod ()
92
89
],
93
90
'response ' => [],
94
91
],
Original file line number Diff line number Diff line change @@ -49,14 +49,13 @@ class Afterpay20 extends AbstractConfigProvider
49
49
const XPATH_AFTERPAY20_ALLOWED_CURRENCIES = 'payment/buckaroo_magento2_afterpay20/allowed_currencies ' ;
50
50
const XPATH_AFTERPAY20_CREATE_INVOICE_BY_SHIP =
51
51
'payment/buckaroo_magento2_afterpay20/create_invoice_after_shipment ' ;
52
-
52
+
53
53
const XPATH_AFTERPAY20_CUSTOMER_TYPE = 'payment/buckaroo_magento2_afterpay20/customer_type ' ;
54
54
const XPATH_AFTERPAY20_MIN_AMOUNT_B2B = 'payment/buckaroo_magento2_afterpay20/min_amount_b2b ' ;
55
55
const XPATH_AFTERPAY20_MAX_AMOUNT_B2B = 'payment/buckaroo_magento2_afterpay20/max_amount_b2b ' ;
56
-
56
+
57
57
58
58
const XPATH_SPECIFIC_CUSTOMER_GROUP = 'payment/buckaroo_magento2_afterpay20/specificcustomergroup ' ;
59
- const XPATH_FINANCIAL_WARNING = 'payment/buckaroo_magento2_afterpay20/financial_warning ' ;
60
59
61
60
/**
62
61
* @return array
@@ -83,7 +82,6 @@ public function getConfig()
83
82
'subtext_color ' => $ this ->getSubtextColor (),
84
83
'allowedCurrencies ' => $ this ->getAllowedCurrencies (),
85
84
'is_b2b ' => $ this ->getCustomerType () !== AfterpayCustomerType::CUSTOMER_TYPE_B2C ,
86
- 'showFinancialWarning ' => $ this ->canShowFinancialWarning (self ::XPATH_FINANCIAL_WARNING )
87
85
],
88
86
'response ' => [],
89
87
],
You can’t perform that action at this time.
0 commit comments