mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-08 21:52:55 +08:00
✨ New option to configure BN-Code
Configurable via a wp-config constant, or a new wp-filter.
This commit is contained in:
parent
34245a852b
commit
6efcaa5630
7 changed files with 57 additions and 12 deletions
|
@ -54,7 +54,7 @@ document.addEventListener('DOMContentLoaded', () => {
|
|||
merchantClientId: PcpPayLaterConfigurator.merchantClientId,
|
||||
partnerClientId: PcpPayLaterConfigurator.partnerClientId,
|
||||
partnerName: 'WooCommerce',
|
||||
bnCode: 'Woo_PPCP',
|
||||
bnCode: PcpPayLaterConfigurator.bnCode,
|
||||
placements: ['cart', 'checkout', 'product', 'shop', 'home', 'custom_placement'],
|
||||
styleOverrides: {
|
||||
button: publishButtonClassName,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue