#alhusamia-checkout

1 messages · Page 1 of 1 (latest)

opal patrol
#

I'd suggest not using WebViews at all and using our native React Native library instead.

cunning pond
#

for me its not working with react native 0.63

opal patrol
#

can you expand on that?

cunning pond
#

I was trying at the first using the sdk for react native with "react-native": "~0.63.3",
but its giving me error about something for upgrading expo ... but i am not using expo at all

opal patrol
#

I can't say much without specific error messages. In any case, 0.63.3 is a little old now so I'd start by upgrading that in your project before adding the stripe-react-native package

cunning pond
#

I was trying to upgrading the react native with packages and its making a conflict So i back to the versions that i found them at and trying to use another way by webview

opal patrol
#

that's fair! there are big drawbacks with webviews though. For example, Google Pay doesn't work at all in Android webviews so you lose that.

cunning pond
#

Ok ... but i cant see the page the it should be redirected for ... but if I take that link the its showen in the browser and put it in th webview in my app its showen ... so the problem with me that the redirecting on the webview in react native

opal patrol
#

I would start by trying to look at the browser devtools console for the page in the webview, there's probably an error in there that would have useful pointers about what's going wrong.

cunning pond
#

the log is giving me these two error
stripe.js requires 'allow-same-origin' if sandboxed

Uncaught DOMException: Failed to read the 'cookie' property from 'Document': Access is denied for this document.

rare flare