aksonov / aksonov/react-native-router-flux

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

未关闭
#3,842 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
8.9k
派生
2.1k
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。