Paypal is not defined (errorr) when making the payment integration live
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I had integrated PayPal Venmo to my mobile application using Paypal standard checkout flow, the payment flow is working fine in the sandbox environment but when making this integration live means adding a live client id in JavaScript sdk is given me this error mentioned below
ReferenceError: paypal is not defined
at initPayPalButton (Payment.jsx:17:1)
at Payment.jsx:125:1
at invokePassiveEffectCreate (react-dom.development.js:23487:1)
at HTMLUnknownElement.callCallback (react-dom.development.js:3945:1)
at Object.invokeGuardedCallbackDev (react-dom.development.js:3994:1)
at invokeGuardedCallback (react-dom.development.js:4056:1)
at flushPassiveEffectsImpl (react-dom.development.js:23574:1)
at unstable_runWithPriority (scheduler.development.js:468:1)
at runWithPriority$1 (react-dom.development.js:11276:1)
at flushPassiveEffects (react-dom.development.js:23447:1)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good day @Temp20230525za,
Thank you for posting to the PayPal community.
Please cross check your PayPal Business account and make sure it is verified and confirmed without any account limitations.
Try to process a test payment via card which is not linked to your PayPal account. Since, merchant can't process self payments.
If your still facing any issues, please create a MTS ticket via - https://www.paypal-support.com/s/?language=en_US with the detail information and error details.
Sincerely,
Chiranjeevi
PayPal/Braintree MTS
If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- I need to integrate a recurring payment with a variable for a pay-as-you-go product in REST APIs
- Webhook notifications are not being sent to my server in REST APIs
- Need help to integrate PayPal Checkout Advanced (PPCP) with WooCommerce in PayPal Upgrade Community
- Paypal 4X credit : translated message & currency error in PayPal Payments Standard
- Question about the ButtonSource field when converting an integration from SOAP/NVP to REST API v1. in REST APIs