mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
Fix GooglePay small issues
This commit is contained in:
parent
4a1d369ad2
commit
37ef761e0f
6 changed files with 60 additions and 12 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
//------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue