react-native-wechat icon indicating copy to clipboard operation
react-native-wechat copied to clipboard

I can't get any response after Wechat payment success.

Open tarzan1110 opened this issue 6 years ago • 4 comments
trafficstars

I'm working on.

  1. react-native 0.59
  2. 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?

tarzan1110 avatar Oct 25 '19 01:10 tarzan1110

maybe because ios 13, same problem on native

nguyenhuutinh avatar Nov 07 '19 07:11 nguyenhuutinh

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 avatar Nov 12 '19 14:11 tarzan1110

@tarzan1110 @M1seRy I have the same issue. Did you solve it?

Liqiankun avatar Oct 20 '20 13:10 Liqiankun

#431 #582 May find some clues from those comments.

Liqiankun avatar Oct 21 '20 04:10 Liqiankun