Skip to content

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

@iqra032

Description

@iqra032

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions