mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-04 08:47:23 +08:00
Add GooglePay button language/locale
This commit is contained in:
parent
e8b21ed044
commit
c3e5d21e75
4 changed files with 63 additions and 2 deletions
|
@ -149,6 +149,7 @@ class GooglepayButton {
|
|||
allowedPaymentMethods: [baseCardPaymentMethod],
|
||||
buttonColor: buttonStyle.color || 'black',
|
||||
buttonType: buttonStyle.type || 'pay',
|
||||
buttonLocale: buttonStyle.language || 'en',
|
||||
buttonSizeMode: 'fill',
|
||||
});
|
||||
jQuery(wrapper).append(button);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue