- 电商收付通分账 报错 分账接收方列表”多重性规则校验失
{"code":"PARAM_ERROR","detail":{"location":"body","value":0},"message":"输入源“/body/receivers”映射到字段“分账接收方列表”多重性规则校验失败,此字段个数为 0 个,低于最小值 1"} 我的参数是 {"appid":"wxa8abce27bffa70bfweewe","sub_mchid":"15932578421","transaction_id":"4342500104202005220710145894","out_order_no":"4342500104202005220710145894M1590152416","receivers":[{"type":"PERSONAL_OPENID","receiver_account":"op5xas67_YiCTXAvF7CeTciez4Tw","amount":1,"description":"分账给会员XSSC"},{"type":"PERSONAL_OPENID","receiver_account":"op5xas2Y3hZ69zcJBqoueJuz-qlw","amount":2,"description":"分账给会员测试"}],"finish":false}
2020-05-22 - 电商收付通微信分账分给服务商报 请求参数错误 ?
[图片] 分账接收方(1579967411)已通过接口添加 ,请求分账时 一直报 array(2) { ["code"] => string(11) "PARAM_ERROR" ["message"] => string(18) "请求参数错误" } 备注:参数已仔细比对没有问题 (type 为 PERSONAL_OPENID 已通过测试 说明接口没有问题 但是type 为 MERCHANT_ID 就报上面的错误)
2020-05-18 - 电商收付通 发起分账 服务商和分账方无受理关系?
$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); //调用微信请求分账 微信返回的错误信息: [图片]
2020-04-23 - php 二级商户进件接口调用成功返回 数组问题
[图片] 怎么会是 applyment_Id 为浮点型的数据 使用 number_format 函数解析出来的数据 最后两位变为了 0
2020-04-15 - HTTP header缺少微信支付平台证书序列号(Wechatpay-Serial)
[图片] Client error: `POST https://api.mch.weixin.qq.com/v3/ecommerce/applyments/` resulted in a `400 Bad Request` response 400 Bad Request 我是按照官方的demo来的 也是报 这个错误 {"code":"PARAM_ERROR","message":"HTTP header缺少微信支付平台证书序列号(Wechatpay-Serial)"} q请问是什么原因
2020-04-14 - php二级商户进件请求之后报错 无法将传入参数“超级管理员类型”转换为string/bytes类型
array(3) { ["code"] => string(11) "PARAM_ERROR" ["detail"] => array(3) { ["field"] => string(26) "/contact_info/contact_type" ["location"] => string(4) "body" ["value"] => int(65) } ["message"] => string(78) "无法将传入参数“超级管理员类型”转换为string/bytes类型。" }
2020-04-11 - 电商收付通-二级商户进件,生成签名后老是报 错误的签名(php开发)
[图片] 下面是代码 [图片] 这是签名的生成: [图片] 下面是模拟参数调用: [图片] 请问问题在哪里?(收付通已经申请下来了)或者说 我们有 php版本的 完整demo吗
2020-04-02 - php版 APIV3生成签名的过程中 $raw_sign是什么意思?怎么获取
$url_parts = parse_url($url); $canonical_url = ($url_parts['path'] . (!empty($url_parts['query']) ? "?${url_parts['query']}" : "")); $message = $http_method."\n". $canonical_url."\n". $timestamp."\n". $nonce."\n". $body."\n"; openssl_sign($message, $raw_sign, $mch_private_key, 'sha256WithRSAEncryption'); $sign = base64_encode($raw_sign);
2020-04-01