小程序调起支付API的回调结果和支付结果通知结果一致吗?

小程序 文章 2022-01-26 09:20 436 0 全屏看文

AI助手支持GPT4.0

小程序调起支付API的回调结果和支付结果通知结果一致吗?Is the callback result when the applet invokes the payment API consistent with the payment result notification result?

小程序调起支付API的回调结果和支付结果通知结果一致吗?

微信支付API版本:V2

具体描述:

前端调用wx.requestPayment(OBJECT)发起微信支付,回调类型可能有success和fail;

微信支付结果通知的result_code可能有SUCCESS和FAIL。

请问:这两个结果是一致的吗?如果是,为什么要有两个通知;如果不是,这两个结果分别表示什么。谢谢!

BTW:微信支付结果通知是什么时候发起的呢?


Wechat payment API version: V2 specific description: front end call Wx Requestpayment (object) initiates wechat payment. Callback types may include success and fail; Result of wechat payment result notification_ Code may have success and fail. Excuse me: are these two results consistent? If so, why two notices; If not, what do these two results mean respectively. thank you! BTW: when was the wechat payment result notification initiated?

回答:

老张:

1、不一致。前者只显示成功与否;后者消息包里带详细支付信息。

微喵网络:

支付结果通知为准

tomheng:

肯定是一直的

-EOF-

AI助手支持GPT4.0