react-native-wechat
react-native-wechat copied to clipboard
I can't get any response after Wechat payment success.
I'm working on.
- react-native 0.59
- react-native-wechat 1.9.10
WeChat.isWXAppInstalled().then(async (isInstalled) => { if (isInstalled) { //console.log('isInstalled on register---',isInstalled) try{ let result= await WeChat.pay({ partnerId: payJson.partnerid, // 商家向财付通申请的商家id prepayId: payJson.prepay_id, // 预支付订单 nonceStr: payJson.noncestr, // 随机串,防重发 timeStamp: payJson.timestamp, // 时间戳,防重发. package: 'Sign=WXPay', // 商家根据财付通文档填写的数据和签名 // package: 'Sign=WXPayt', // 商家根据财付通文档填写的数据和签名 sign: payJson.sign }) console.log('result===',result)
Purchaing is being done without problem through wechat. But I can't get any response from this let result = await Wechat.pay(........ I have something to do based on response of wechat pay. If you have any idea, would you help me?
maybe because ios 13, same problem on native
I'm working on Android. Didn't anyone face this problem on react-native-wechat. Purchaing is being done without problem through wechat. But I can't get any response from this let result = await Wechat.pay(........ I have something to do based on response of wechat pay. If you have any idea, would you help me?
@tarzan1110 @M1seRy I have the same issue. Did you solve it?
#431 #582 May find some clues from those comments.