Open zy598586050 opened 3 months ago
Regarding the JS error that happen when you are trying to run loadscript:
As your dev lang is Vue, In your app.vue, div's id="paypal" will form a JS object instance, which conflict with the paypal JS SDK paypal object instance.
Change id="paypal" to other id value, such as div id="paypal-container" and change corresponding reference can resolve the issue.
"@paypal/paypal-js": "^8.1.0"
BUG-DEMO: https://github.com/zy598586050/paypal-bug