#abhilash_ss
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- abhilash_ss, 1 day ago, 8 messages
- abhilash_ss, 2 days ago, 5 messages
Hello
hey
So first, that error would occur becuase you aren't setting a urlScheme in your <StripeProvider/> props
So let's start there
Then we can talk about deep linking
let me try that and let you know...thanks
Sure
I passed a string value for the urlSchema and now it is redirected to the payment screen. But from there Safari throwing an error saying Safari cannot open the page because the address is invalid....May what would be the value expected for the urlSchema?
You see this error in the Paypal screen after the Webview is opened?
Oh then yeah that is likely an issue with how you are handling your deep linking
Can you comment out all of your deep linking code for now and ensure the flow works without it first?
What are you setting as your urlScheme?
only the app name
That should be fine then
I am not sure how exactly that works and if I need to setup something for that
Are you passing a returnURL to initPaymentSheet() ?
I am not using initPaymentSheet()
it is only direct call from the button click
okay
I have only integrated through Payment Sheet and haven't done this direct integration yet. I'm checking with a colleague, give us a few
Sure..thanks
Okay okay
So if you set your urlScheme to an HTTPS URL then you will be able to complete the flow end-to-end but you are redirected to that URL
If you do set that to a custom URL scheme then you are expected to handle deep linking
Otherwise you will see the current error
So yeah, test with setting to something simple like https://www.example.com and that should work fine.
Then you will need to work on your deep linking issue