Fix return url (redirect). iOS App

Job ID: 38696316

Budget: €8 – €30 EUR

In my eCommerce iOS application, I’m encountering an issue where, after completing a payment on the bank app, and when clicking the left arrow on the payment screen it redirects users to the bank app instead of returning them to my e-commerce app. Can someone fix this?

Here’s the relevant swift code but seems not to work:

var configuration = PaymentSheet.Configuration()
configuration.merchantDisplayName = "de Refter"
configuration.returnURL = "derefter://stripe-redirect"
Related categories: Mobile App Development iPhone Swift