Hector-Chong / expo-native-wechat

A Expo Module for supporting Wechat APIs on Android and iOS
https://native-wechat.hector.im
11 stars 1 forks source link

expo-native-wechat支付没有回调 #3

Open 418442040 opened 1 week ago

418442040 commented 1 week ago

requestPayment方法不管成功还是失败都没有任何回调,代码如下: requestPayment({ partnerId: red.partnerid, prepayId: red.prepayid, nonceStr: red.noncestr, timeStamp: red.timestamp.toString(), sign: red.sign, }) .then((res) => { console.log(res); }) .catch((err) => { console.log(err); });

Hector-Chong commented 1 week ago

是否成功跳转到微信了?

Hector-Chong commented 1 week ago

很抱歉,之前遗漏了 Queries Schemas 的配置项,请尝试此操作。

https://native-wechat.hector.im/guide/configuration-expo.html

418442040 commented 1 week ago

很抱歉,之前遗漏了 Queries Schemas 的配置项,请尝试此操作。

https://native-wechat.hector.im/guide/configuration-expo.html

您好,你说的漏掉的可能是ios的配置,我指的是android不回调,并且我已经配置了 "scheme": ["wx123456nxabcdefg"]和"plugins": ["expo-native-wechat"],

418442040 commented 1 week ago

是否成功跳转到微信了?

有成功跳转到微信,我有尝试过获取微信code有回调,但是支付没有任何回调

Hector-Chong commented 1 week ago

已发布更新尝试修复,请再试一次。

418442040 commented 1 week ago

已发布更新尝试修复,请再试一次。

我尝试更新了一下,依然没有回调,不知您自己测试是否有回调?

Hector-Chong commented 5 days ago

由于我暂时没有支付的测试用例,您是否尝试过 Prebuild 工程了呢?

Hector-Chong commented 5 days ago

非常抱歉,我已发布了更新,请重试一下。