No Javascript or Cookies in Sandbox
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello everyone,
I'm writing a Flutter shopping app at the moment. When I do the PayPal Express Checkout I open the returned 'approval_url' to get the user to log in.
I do this opening a WebScaffoldView from the Flutter WebView Plugin.
But when it opens a sandbox url it shows the message that javascript and cookies are needed for this process. When I open a 'real' shop that directs me do a non-sandbox PayPal url to log in it works just fine.
What I tried to fix it:
- enabled the plugin options withJavascript and withLocalStorage
- opened the same url in same Android emulators chrome -> worked
- opened both (sandbox and non-sandbox) urls on iPhone and Simulator
Now I don't know if that's a Flutter issue or PayPal/Sandbox issue but I think there must be a difference between Sandbox and the Production PayPal as I can open the Production one.
I hope someone can help me with this.
Thank you

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Paypal subscription Api in REST APIs
- Are there any restrictions to charge using only html, vanilla javascript and php with rest api? in REST APIs
- Venmo is not eligible - Unable to render Venmo button using SDK v5 in live mode in SDKs
- No subscription details shown to buyer in their PayPal account in REST APIs
- Let user pick their own own subscription pricing and period? in SDKs