#abhilash-reactnative-returlurl
1 messages · Page 1 of 1 (latest)
iOS requires a valid return URL so that after completing the payment, the user can be redirected to the app
The docs link you shared above is exactly what you'd need to set
let me double check
Do you have any idea how can I check if something wrong with the linking of url?
HI 👋
I'm stepping in as my colleague needed to go. What do you mean by something being wrong with the linking of the URL?
I tried the same as explained here https://stripe.com/docs/payments/paypal/accept-a-payment?platform=mobile&ui=react-native#react-native-set-up-return-url
but no luck
Can you logging the initial URL that you are passing?
await Linking.getInitialURL();coming as null
And you are saying this doesn't work in Android but it works in iOS?
it is working fine on Android, android doesn't need this setup
So your handleDeepLink function is falling back to the else condition, correct?
What is being returned there?
And are you using Expo?
I am using expo
And have you configured your URL scheme in app.json?
If you’re using Expo, set your scheme in the app.json file.
These aren't Stripe docs so I can't give too much help with them but this seems to be specific to Expo: https://docs.expo.dev/guides/linking/#in-a-standalone-app
I was also thinking the same, something wrong with the linking...Let me take a look...