mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 13:44:42 +08:00
Add button preview in settings
This commit is contained in:
parent
e347bd8416
commit
ab618b200e
13 changed files with 294 additions and 19 deletions
|
@ -45,7 +45,9 @@ class Renderer {
|
|||
}
|
||||
}
|
||||
|
||||
this.creditCardRenderer.render(settings.hosted_fields.wrapper, contextConfig);
|
||||
if (this.creditCardRenderer) {
|
||||
this.creditCardRenderer.render(settings.hosted_fields.wrapper, contextConfig);
|
||||
}
|
||||
|
||||
for (const [fundingSource, data] of Object.entries(enabledSeparateGateways)) {
|
||||
this.renderButtons(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue