Skip to content

Commit 7f6e442

Browse files
committed
MAGETWO-53798: Braintree Paypal button is active before checkout is loaded
1 parent 04795a6 commit 7f6e442

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Braintree/view/frontend/templates/paypal

1 file changed

+1
-1
lines changed

app/code/Magento/Braintree/view/frontend/templates/paypal/button.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ $config = [
2727
data-locale="<?php /* @noEscape */ echo $block->getLocale(); ?>"
2828
data-amount="<?php /* @noEscape */ echo $block->getAmount(); ?>"
2929
id="<?php /* @noEscape */ echo $id; ?>"
30-
class="action-braintree-paypal-logo">
30+
class="action-braintree-paypal-logo" disabled>
3131
<img class="braintree-paypal-button-hidden"
3232
src="https://checkout.paypal.com/pwpp/2.17.6/images/pay-with-paypal.png"
3333
alt="Pay with PayPal"/>

0 commit comments

Comments
 (0)