#Ouss JO - Return to Merchant Button

1 messages · Page 1 of 1 (latest)

lunar solar
#

Hello! Can you provide more details? What did you supply for your return URL? What happens when you tap the button?

vestal harbor
#

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

lunar solar
#

What version of stripe-react-native are you using?

vestal harbor
lunar solar
#

Do you see anything in Safari's console when the button is tapped?

vestal harbor
#

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

near lava
#

bear with me for a bit, asking my team internally!

vestal harbor
#

Thank you

karmic panther
#

@vestal harbor is this Expo? or Bare RN?

vestal harbor
#

Bare RN

karmic panther
#

I think you are given you are being returned back to your app from Safari, but just checking

vestal harbor
#

i will add *

karmic panther
#

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

vestal harbor
#

Thank you very much

near lava
#

@vestal harbor are you unblocked/did it work?

vestal harbor
#

i am still working to add the deep link