微信支付V3版 支付通知接口,多商户下如何知道回调通知的是那个商户的订单?

微信支付 文章 2021-03-04 19:21 1167 0 全屏看文

AI助手支持GPT4.0

微信支付V3版 支付通知接口,多商户下如何知道回调通知的是那个商户的订单?WeChat Pay V3 version of the payment notification interface, how do I know that the callback notification is the order of the merchant under the multi-merchant?

微信支付V3版 支付通知接口,多商户下如何知道回调通知的是那个商户的订单?

微信支付V3版 jsapi支付-支付通知接口,需要解密后才知道是那个商户,我们系统需要支持多商户,通知接口请求的数据解密前没有标识是那个商户,我如何知道用那个商户的V3API秘钥去解密?

Wechat payment V3 version jsapi payment payment notification interface needs to be decrypted before we know which merchant it is. Our system needs to support multiple merchants. The data requested by the notification interface is not identified as the merchant before decryption. How do I know to decrypt with the merchant's v3api secret key?

回答:

跨商通:

1、这种场景,最好是通过服务商支付模式,你们是服务商,商户是特约商户;

2、如果非要用多个商户的普通商户号支付,每个商户配个notify_url吧,在统一下单里,不同的商户号不同的notify_url,区别开来。

陈刚:

改造后端,回调地址动态生成,通过地址识别。

杨:您的意思是我将商户号或者订单号之类的唯一标识字段直接嵌入到url里面是吗?
Memory:

使用微信支付服务商或使用动态地址

-EOF-

AI助手支持GPT4.0