No Javascript or Cookies in Sandbox

jonashoefer
Contributor
Contributor

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

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

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