Version
Tell us which versions you are using:
- react-native-router-flux v4.3.1
- react v18.0.0
- react-native v0.69.3
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",
}
}