Fix GooglePay small issues

This commit is contained in:
Pedro Silva 2023-08-29 08:19:11 +01:00
parent 4a1d369ad2
commit 37ef761e0f
No known key found for this signature in database
GPG key ID: E2EE20C0669D24B3
6 changed files with 60 additions and 12 deletions

View file

@ -124,6 +124,15 @@ class GooglepayManager {
buttonSizeMode: 'fill',
});
jQuery(this.buttonConfig.button.wrapper).append(button);
// const buttonMiniCart =
// paymentsClient.createButton({
// onClick: this.onButtonClick.bind(this),
// allowedPaymentMethods: [this.baseCardPaymentMethod],
// buttonType: 'pay',
// buttonSizeMode: 'fill',
// });
// jQuery(this.buttonConfig.button.mini_cart_wrapper).append(buttonMiniCart);
}
//------------------------