mirror of
https://gh.wpcy.net/https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2026-04-26 01:14:19 +08:00
The script was registered using 'PayPalInsightsLoader.js', which resolved to the non-existent 'ppcp-axo-block-js-PayPalInsightsLoader.js'. The webpack entry lives at js/plugins/PayPalInsightsLoader.js, so the built asset is 'ppcp-axo-block-js-plugins-PayPalInsightsLoader.js'. Passing 'plugins/PayPalInsightsLoader.js' to get_asset_url() produces the correct path and eliminates the checkout console error. |
||
|---|---|---|
| .. | ||
| resources | ||
| src | ||
| composer.json | ||
| module.php | ||
| services.php | ||