aksonov / react-native-router-flux

The first declarative React Native router
MIT License
8.99k stars 2.11k forks source link

Unable to navigate back to screen Using Deep Linking for Payment Integration using in app browser #3842

Open iqra032 opened 1 year ago

iqra032 commented 1 year ago

Version

Tell us which versions you are using:

Expected behaviour

Redirect to the specified screen after a successful transaction from the in-app-browser payment API.

Actual behaviour

But not able to redirect to the screen using deep linking

Explanation

I am trying to integrate payment API using an in-app browser ( react-native-webview). This API takes "return-path" in the form of url of screen (used to redirect back to the specific screen's path ). But I don't know how to make url using this library (react-native-router-flux). Kindly help me to solve this problem.

Please tell me the correct Steps to make URL for return path . Here is some sample code for request body that Payment API Accept:

Request Body: { "Registration”: { "Currency" => "$", "TransactionHint"=>"CPT:Y;VCC:Y;", "OrderID"=> '123', "OrderName"=>"bill", "Channel"=>"Web", "Amount"=> '2400', "Customer"=>"customer", "UserName"=>"username", "Password"=>"username123", "ReturnPath"=>"Here is Return path", } }