#MilkJuice
1 messages · Page 1 of 1 (latest)
Hi there 👋 could you point me to where you're seeing that iDEAL requires a return URL be configured for React Native implementations?
I'm not finding it mentioned here, but am worried I may be overlooking something:
https://stripe.com/docs/payments/ideal/accept-a-payment?platform=mobile&ui=react-native
i got sent an email by another stripe engineer when i was trying to implement it, let me link the document real quick one second
the part below for IOS
number 5
Gotcha, thank you for that. Did the link to the Expo docs for setting up your URL scheme for your app help. Or was there something there that is causing problems?
I think i have set that up though im honestly not sure if i did the right thing, its been very vague, i have made a link that when you go it, it prompts you to open the app
though i assume i have to connect that to a thank you checkout page
but where do i add that return url in the stripe part of things? cause ideal still doesnt show up
The last snippet in that section is showing that the returnURL is provided while initializing the Payment Sheet. I also noticed you had a live key in your code snippet, have you been trying to test this with testmode keys as you build?
yea ive been testing with the test keys
this is just a snippet from the build we currently have that doesnt show ideal
do i add the url here?
I don't believe so, I believe it's added here:
...
returnURL: 'your-app://stripe-redirect',
...
});```
Are you using the Payment Sheet/Mobile Payment Element in your application?
im using the mobile payment element
for the tutorial i followed, they didnt add a payment sheet
Stripe's React Native SDK provides a convenient API for allow developers to accept payments natively in their applications in a performant way.
In this video, Charles Cruzan and Cecil Phillip discuss some of the capabilities of the SDK and show us how to get started. They go over topics such as getting setup, invoking the paymentsheet, adding d...
it was this one
Payment Sheet and Mobile Payment Element are the same thing
im slightly confused on where to add the initpaymentsheet then
Is initPaymentSheet in your code?
It should already be there if you're using the Payment Sheet
no its not
wait i will show you what i have in the react native side of things
ohh i see it now, i was confused i thought it was meant to be server side
The video includes initPaymentSheet on line 19 here:
https://youtu.be/O6TWFuZw2uk?t=198
i do have the payment sheet on the app yes
sorry about that, im new to implementing stripe here
Gotcha, so returnURL will be declared as one of the parameters there.
No worries, React Native is not one of my strengths yet, so I probably could have used better terms and done a better job pointing at where to look.
yea its hard to work with, specially with expo, its all these obscure bugs with very minimal documentation or online presence
i added the return url, let me check if it works
perfect it works
it redirects to the home page now, ill make it redirect to a payment confirmation page
thank you so much
Sweet, glad to hear that's working!