同时开通服务商和普通商户,在使用普通商户模式发起支付下单时报错?

寰俊鏀粯 文章 2021-12-06 06:20 653 0 全屏看文

AI助手支持GPT4.0

同时开通服务商和普通商户,在使用普通商户模式发起支付下单时报错?Service providers and ordinary merchants are opened at the same time, and an error is reported when using the ordinary merchant mode to initiate payment and place an order?

同时开通服务商和普通商户,在使用普通商户模式发起支付下单时报错?

使用同一主体开通了服务商又开通了普通商户两个商户号,在使用普通商户下单支付时,有时能下单支付成功,有时会报错提示:受理机构必须传入sub_mch_id,请问是哪里没有处理正确呢?开发人员API使用的是V2版本

Using the same entity to open a service provider and two merchant numbers of an ordinary merchant, when using an ordinary merchant to place an order for payment, sometimes the order can be paid successfully, and sometimes an error will be reported: the acceptance institution must pass in the sub_ mch_ ID, where did you fail to handle it correctly? The developer API uses V2 version

鍥炵瓟锛�

Memory:

报错受理机构必须传入sub_mch_id,说明服务商错误的去调用错了普通商户接口,服务商需要使用服务商模式API,不支持调用普通商户API ,服务商V2文档https://pay.weixin.qq.com/wiki/doc/api/sl.html

小小目标:我再确认了一下,收款账号是特约商户,是在以同一个主体申请的微信支付服务商号下面……特约商户下单必须要传服务商号的商户号吗?
Memory:不需要
Memory:你这报错就是用错了商户号
小小目标:谢谢,我解决了,是有同事把两个商户号得秘钥配成一样的了
老张:

sub_mch_id一定是服务商支付模式。

小小目标:我再确认了一下,收款账号是特约商户,在以同一个主体申请的微信支付服务商号下面,交易订单有两种订单:本商户的订单是没有传sub_mch_id生成的,服务商模式下的订单是二维码收款生成的。没传sub_mch_id下单时行时不行……特约商户下单必须要传服务商号的商户号吗?
老张:1、听上去就没有第二个公司主体?那么,你只能用普通商户来下单;
2、想用服务商模式来下单,找另外一家公司来注册成为你们服务商之下的特约商户,再说。
北望沣渭:

原因是你把商户号混用了

-EOF-

AI助手支持GPT4.0