I was wondering if anyone has an idea how to redirect back to React native navigation after completing the payment. So the API integration is built in .NET and the backend handles all the business logic. How can we specify the Return Url that we send while creating the payment to redirect back to the application and not in the API. Is creating a Custom Url in React Native possible so we can target that endpoint from the backend?
#Redirecting to react native application.
1 messages · Page 1 of 1 (latest)
@fading rune knows a thing or 2 about React Native I would expect..
I think just by adding some additional parameter in the response they can catch it and see if there is a difference and change screen then, or maybe creating a Custom Url inside the react app is possible so I can target that one too?
Hi there!
Yes, that's indeed the best option. Apps support a thing called "app schemes". You have to define this scheme into your application so the OS knows what application to open.
An example of this could be; your-app://payment-return?result=ok
We have a guide for this available in our docs, you can find it here: https://docs.mollie.com/mobile-apps/getting-started-payments