mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-31 04:58:28 +08:00
Merge pull request #1719 from woocommerce/PCP-2006-google-pay-settings-improvements
Google Pay Settings improvements (2006)
This commit is contained in:
commit
c07e8eaa87
55 changed files with 1784 additions and 243 deletions
|
@ -87,6 +87,7 @@ document.addEventListener(
|
|||
|
||||
try {
|
||||
renderer.render({});
|
||||
jQuery(document).trigger('ppcp_paypal_render_preview', settings);
|
||||
} catch (err) {
|
||||
console.error(err);
|
||||
}
|
||||
|
@ -113,7 +114,7 @@ document.addEventListener(
|
|||
'client-id': PayPalCommerceGatewaySettings.client_id,
|
||||
'currency': PayPalCommerceGatewaySettings.currency,
|
||||
'integration-date': PayPalCommerceGatewaySettings.integration_date,
|
||||
'components': ['buttons', 'funding-eligibility', 'messages'],
|
||||
'components': PayPalCommerceGatewaySettings.components,
|
||||
'enable-funding': ['venmo', 'paylater'],
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue