I am using the payment merchant where I need to give the return_url which will redirect the user back on the application
if (initiatePaymentResponse?.data?.response?.payment_url) {
const url = initiatePaymentResponse?.data?.response?.payment_url
WebBrowser.openBrowserAsync(url)
}
I want to close the browser and redirect back to the application when the user clicks on the given URL