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

ios 支付成功无法收到成功回调 #144

Closed
AlexanderCNView opened this issue Aug 1, 2023 · 6 comments
Closed

ios 支付成功无法收到成功回调 #144

AlexanderCNView opened this issue Aug 1, 2023 · 6 comments

Comments

@AlexanderCNView
Copy link

No description provided.

@JarvanMo
Copy link
Member

JarvanMo commented Aug 1, 2023

Url scheme 对吗

@liuyuesen
Copy link

liuyuesen commented Oct 25, 2023

tobias.pay(orderStr, evn: AliPayEvn.online).then((payResult) {
        print("支付宝:" + payResult.toString());

        if (payResult['resultStatus'] == '9000') {
          onSuccess?.call();
        } else {
          onFailed?.call(payResult['resultStatus']);
        }
      }).onError((error, stackTrace) {
        print(stackTrace.toString());
      }).whenComplete((){
        print("f");
      });

1

2

同样收不到回调,url scheme 配置如上,支付成功后可以返回app,但是没有出发then的回调

@JarvanMo
Copy link
Member

可能别的插件错误的重写了openUrl,可以考虑弄个干净项目测试一下

@liuzhiqin1004
Copy link

与fluwx冲突。我fluwx升级到4.4.0后,也发现了支付成功不回调问题。

@JarvanMo
Copy link
Member

与fluwx冲突。我fluwx升级到4.4.0后,也发现了支付成功不回调问题。

Fluwx 升到4.4.3即可

@liuzhiqin1004
Copy link

对的,4.4.2修复了

@JarvanMo JarvanMo closed this as completed Jan 5, 2024
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

4 participants