Skip to content

Commit 829d022

Browse files
committed
MAGETWO-40138: Paypal express marks on checkout are small
1 parent 5e8b706 commit 829d022

File tree

4 files changed

+6
-14
lines changed

4 files changed

+6
-14
lines changed

app/code/Magento/Paypal/Block/Bml/Form.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ protected function _construct()
3131
'https://www.securecheckout.billmelater.com/paycapture-content/'
3232
. 'fetch?hash=AU826TU8&content=/bmlweb/ppwpsiw.html'
3333
)->setPaymentAcceptanceMarkSrc(
34-
'https://www.paypalobjects.com/webstatic/en_US/i/buttons/ppc-acceptance-small.png'
34+
'https://www.paypalobjects.com/webstatic/en_US/i/buttons/ppc-acceptance-medium.png'
3535
)->setPaymentWhatIs(__('See terms'));
3636

3737
$this->_initializeRedirectTemplateWithMark($mark);

app/code/Magento/Paypal/Test/Unit/Model/ConfigTest.php

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -345,10 +345,6 @@ public function dataProviderGetExpressCheckoutShortcutImageUrl()
345345
'en_GB', null, null, Config::EC_FLAVOR_DYNAMIC, false, Config::EC_BUTTON_TYPE_SHORTCUT,
346346
'https://fpdbs.paypal.com/dynamicimageweb?cmd=_dynamic-image&buttontype=ecshortcut&locale=en_GB'
347347
],
348-
[
349-
'en_US', null, null, Config::EC_FLAVOR_STATIC, false, Config::EC_BUTTON_TYPE_MARK,
350-
'https://www.paypalobjects.com/webstatic/en_US/i/buttons/pp-acceptance-small.png'
351-
],
352348
[
353349
'en_US', null, null, Config::EC_FLAVOR_STATIC, true, Config::EC_BUTTON_TYPE_SHORTCUT,
354350
'https://www.paypalobjects.com/webstatic/en_US/i/buttons/checkout-logo-medium.png'],
@@ -413,8 +409,8 @@ public function dataProviderGetPaymentMarkImageUrl()
413409
'https://fpdbs.paypal.com/dynamicimageweb?cmd=_dynamic-image&buttontype=ecmark&locale=en_GB'
414410
],
415411
[
416-
'en_US', null, null, 'small', Config::EC_FLAVOR_STATIC, true,
417-
'https://www.paypalobjects.com/webstatic/en_US/i/buttons/pp-acceptance-small.png'
412+
'en_US', null, null, 'medium', Config::EC_FLAVOR_STATIC, true,
413+
'https://www.paypalobjects.com/webstatic/en_US/i/buttons/pp-acceptance-medium.png'
418414
],
419415
[
420416
'en_US', null, null, 'medium', Config::EC_FLAVOR_STATIC, true,
@@ -423,11 +419,7 @@ public function dataProviderGetPaymentMarkImageUrl()
423419
[
424420
'en_US', null, null, 'large', Config::EC_FLAVOR_STATIC, true,
425421
'https://www.paypalobjects.com/webstatic/en_US/i/buttons/pp-acceptance-large.png'
426-
],
427-
[
428-
'en_GB', null, null, 'affected', Config::EC_FLAVOR_STATIC, true,
429-
'https://www.paypalobjects.com/webstatic/en_US/i/buttons/pp-acceptance-small.png'
430-
],
422+
]
431423
];
432424
}
433425
}

app/code/Magento/Paypal/view/frontend/web/template/payment/payflow-express-bml.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
data-bind="attr: {'id': getCode()}, value: getCode(), checked: isChecked, click: selectPaymentMethod, visible: isRadioButtonVisible()" />
1313
<label data-bind="attr: {'for': getCode()}" class="label">
1414
<!-- PayPal Logo -->
15-
<img src="https://www.paypalobjects.com/webstatic/en_US/i/buttons/ppc-acceptance-small.png"
15+
<img src="https://www.paypalobjects.com/webstatic/en_US/i/buttons/ppc-acceptance-medium.png"
1616
data-bind="attr: {alt: $t('Acceptance Mark')}"
1717
class="payment-icon"/>
1818
<!-- PayPal Logo -->

app/code/Magento/Paypal/view/frontend/web/template/payment/paypal-express-bml.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
data-bind="attr: {'id': getCode()}, value: getCode(), checked: isChecked, click: selectPaymentMethod, visible: isRadioButtonVisible()" />
1313
<label data-bind="attr: {'for': getCode()}" class="label">
1414
<!-- PayPal Logo -->
15-
<img src="https://www.paypalobjects.com/webstatic/en_US/i/buttons/ppc-acceptance-small.png"
15+
<img src="https://www.paypalobjects.com/webstatic/en_US/i/buttons/ppc-acceptance-medium.png"
1616
data-bind="attr: {alt: $t('Acceptance Mark')}"
1717
class="payment-icon"/>
1818
<!-- PayPal Logo -->

0 commit comments

Comments
 (0)