#Ouss JO - Return to Merchant Button
1 messages · Page 1 of 1 (latest)
Hello! Can you provide more details? What did you supply for your return URL? What happens when you tap the button?
i use the react-native-stripe-sdk to use Bancontact payments (common payment method in Belgium) Customers are redirected to the Bancontact website or mobile app to authorize the payment and then return using the given return url (urlScheme), normally before that view (screenshot) appears the browser should show a popup telling me do I want to open the link (urlScheme) in the app or not but in my case the pop-up doesn't appear, so the view (screenshot) appears and after tapping Return to merchant button nothing happen i should always use the above close button to dismiss the webview
i use like this config to initiate Stripe ,
i can't give a returnUrl when creating a payment intent for Bancontact payment
What version of stripe-react-native are you using?
Do you see anything in Safari's console when the button is tapped?
i can't see the console log because it's a webview
when i tap the icon (arrow) the page is opened on Safari browser and the button works
when the url is opened in safari browser not in webview it works perfectly
is there any way to use Safari Browser instead of Webview
bear with me for a bit, asking my team internally!
Thank you
@vestal harbor is this Expo? or Bare RN?
Bare RN
@vestal harbor also, I assume you have deeplinking set up already in your RN project / Xcode?
like explained here? https://stripe.com/docs/payments/bancontact/accept-a-payment?platform=react-native#react-native-handle-deep-linking
I think you are given you are being returned back to your app from Safari, but just checking
Yes, you are right, I forgot this step, i will deep link and give you a feedback
i will add *
yeah there are a few different steps in there, you have to do some Android Intent filter stuff, and add some things to Info.plist on iOS as well
there are links in the doc I sent you
if I recall, once you set it up right, you actually don't even get that button, the webview / Safari return your customer back to your app after they authenticate, seamlessly
Thank you very much
@vestal harbor are you unblocked/did it work?
i am still working to add the deep link