$profitShare['sub_mchid'] = '1579967411'; //填写的服务商户号
$profitShare['transaction_id'] = '4310300103202004238398676815'; //微信支付订单号 4.23
$profitShare['out_order_no'] = 'WxPay158762107550238S1587432661'; //商户系统内部的分账单号,在商户系统内部唯一(系统生成二级商户订单号)
$profitShare['receivers'][0]['receiver_mchid'] = '1587432661'; //my 接收方
$profitShare['receivers'][0]['amount'] = 5;
$profitShare['receivers'][0]['description'] = '分给商户1587432661';
$profitShare['finish'] = true;
$electricityObj = new ElectricityModel();
$shareResult = $electricityObj->profitSharing($profitShare); //调用微信请求分账
微信返回的错误信息:
一般报这个错,是你们正常的添加分账接收方造成的。
老哥解决了吗?
遇到一样问题,请问解决了吗?
谢邀,分账前,先添加接受方:https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/profitsharing/chapter3_7.shtml如有帮助点个有用让遇到同类型问题的童鞋知道