🐛 Fix button insertion logic in block checkout

The Google Pay button was inserted into the wrong DOM wrapper
This commit is contained in:
Philipp Stracker 2024-08-07 23:07:04 +02:00
parent e9c557a361
commit 7f3636348b
No known key found for this signature in database
2 changed files with 9 additions and 9 deletions

View file

@ -70,7 +70,7 @@ class GooglepayButton extends PaymentButton {
buttonConfig.button.wrapper,
buttonConfig.button.mini_cart_wrapper,
ppcpConfig.button.wrapper,
'express-payment-method-ppcp-googlepay',
'ppc-button-googlepay-container',
'ppc-button-ppcp-googlepay'
);
}