#elliot_66740

1 messages · Page 1 of 1 (latest)

undone laurelBOT
hollow pier
#

No I don't believe so, since the actual behaviour here would be to drive the customer to the cashapp... app

#

Can you say more about why you want to open in the full browser?

vivid mist
#

So when you do go to the cashapp and finish up there, you get sent back to my app with the return URL opened in the browser on top of my app. Let me upload another screenshot, 1 sec

#

The user is sent to this webpage, which we created specifically to direct the user back to the app by pressing the button. But the user is already in the app because the webpage is opened on top of the app. So pressing the button does nothing.

#

If you opened this webpage in Safari instead, pressing the button would successfully send you back to my app. But pressing the button in a browser view on top of my app will not work. I figured if there is some way to make the paymentsheet open the Cash App link in Safari, this issue would be circumvented.

#

@hollow pier

hollow pier
#

I'm not aware of any way to force that. Does the behaviour change if you change your deeplink path inside your app?

vivid mist
#

I haven't tried changing the deeplink path yet since the link simply opens the app or brings it to the foreground, rather than directing the user to any particular screen. I can't imagine that working though since the browser view would need to be closed before the user can navigate anywhere. But I'll try that next.

hollow pier
#

Also have you tried setting your return url to your app deeplink directly to return to the app on the success view?

#

(insstead of the interstitial with your web server)

vivid mist
#

initializePaymentsheet() won't accept my deeplink because it doesn't start with https://. It says it's an invalid URL.

hollow pier
#

You might need to configure the handler first?

#
await initPaymentSheet({
  ...
  returnURL: 'your-app://stripe-redirect',
  ...
});
vivid mist
#

Ok I'll give this a try. Thanks for your help!