Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
iqra032 opened this issue Jan 27, 2023 · 0 comments

Comments

@iqra032
Copy link

iqra032 commented Jan 27, 2023

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",
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant