Paypal is not defined (errorr) when making the payment integration live


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)

Login to Me Too

PayPal Employee
PayPal Employee

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 -  with the detail information and error details.




PayPal/Braintree MTS


If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.