File tree Expand file tree Collapse file tree 4 files changed +5
-7
lines changed
Block/Adminhtml/System/Config Expand file tree Collapse file tree 4 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -56,9 +56,7 @@ public function __construct(
56
56
public function _getElementHtml (AbstractElement $ element ): string
57
57
{
58
58
$ html = parent ::_getElementHtml ($ element );
59
-
60
59
$ html .= $ this ->getPayLaterCommentHtml ();
61
-
62
60
$ country = $ this ->getPayLaterCountry ();
63
61
64
62
return (in_array ($ country , self ::ARRAY_PAYLATER_SUPPORTED_COUNTRIES )) ?
Original file line number Diff line number Diff line change 8
8
9
9
<tests xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
10
xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/testSchema.xsd" >
11
- <test name =" AdminRegionalLinkForPayLater " >
11
+ <test name =" AdminRegionalLinkForPayLaterTest " >
12
12
<annotations >
13
13
<features value =" Paypal" />
14
14
<stories value =" PayLater Comment Regional Link" />
Original file line number Diff line number Diff line change 8
8
9
9
<tests xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
10
xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/testSchema.xsd" >
11
- <test name =" AdminRegionalLinkWithMerchantCountryFromConfig " >
11
+ <test name =" AdminRegionalLinkWithMerchantCountryFromConfigTest " >
12
12
<annotations >
13
13
<features value =" Paypal" />
14
14
<stories value =" PayLater Comment Regional Link With Merchant Country From Config" />
Original file line number Diff line number Diff line change 155
155
<field id =" enable_express_checkout_bml" showInDefault =" 0" showInWebsite =" 0" />
156
156
<field id =" express_checkout_bml_sort_order" showInDefault =" 0" showInWebsite =" 0" />
157
157
<group id =" advertise_bml" showInDefault =" 0" showInWebsite =" 0" />
158
- <group id =" advertise_paylater" >
159
- <field id =" paylater_enabled" />
158
+ <group id =" advertise_paylater" showInDefault = " 1 " showInWebsite = " 1 " >
159
+ <field id =" paylater_enabled" showInDefault = " 1 " showInWebsite = " 1 " />
160
160
</group >
161
161
</group >
162
162
</group >
373
373
<group id =" express_checkout_required" >
374
374
<field id =" enable_paypal_paylater_experience" showInDefault =" 1" showInWebsite =" 1" />
375
375
<group id =" advertise_paylater" showInDefault =" 1" showInWebsite =" 1" >
376
- <field id =" paylater_enabled" />
376
+ <field id =" paylater_enabled" showInDefault = " 1 " showInWebsite = " 1 " />
377
377
</group >
378
378
</group >
379
379
</group >
You can’t perform that action at this time.
0 commit comments