需要自定一个headers,叫做:Wechatpay-Serial 比如:像这样: headers: { 'content-type': 'application/json', 'Accept' : 'application/json', 'User-Agent' : 'PostmanRuntime/7.28.4', 'Authorization' : `WECHATPAY2-SHA256-RSA2048 mchid="${mchid}",serial_no="${serial_no}",nonce_str="${noncestr}",timestamp="${timestamp}",signature="${authsign}"`, 'Wechatpay-Serial' : certication.serial_no, },
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请问是什么原因
2021-09-16[图片] 应该是这里开通
{"code":"NO_AUTH","message":"服务商商户号未开通该产品的受理权限"} ?服务商模式调用合单Native下单API返回 {"code":"PARAM_ERROR","message":"mchid参数错误"} combine_mchid合单商户号和子单商户号mchid都传的是服务商商户号,sub_mchid传的是二级商户号 怎么开通合单支付???
2021-09-10自己解决了,主要是:没有注意post参数的一致性,有的参数没有给出,需要仔细核对参数名称,就不报这个错误了。
服务商的合单JSAPI下单API调用失败?调用接口,返回错误结果如下: 500 - "{\"code\":\"SYSTEM_ERROR\",\"message\":\"系统繁忙,请稍后重试\"}" request-id:"08F196EC890610C20218B2BCD6A3062087C606288FA205-269546526"已经多次尝试,无法继续了。
2021-09-10我也遇到相同的问题,对接群里面也没人回复,微信支付真实一个坑接着一个坑呀,
微信支付分相关接口,一直返回系统繁忙,请稍后重试?微信支付分相关接口,一直返回 {"code":"SYSTEM_ERROR","message":"系统繁忙,请稍后重试"}如:查询用户授权记录(openid)APIurl:https://api.mch.weixin.qq.com/v3/payscore/permissions/openid/o-8O45fVNZbW1HOFSFdNqbgyMg6U?appid=wx1c2e7f613a01e182&service_id=00003014000000162080195171612757 Authorization: WECHATPAY2-SHA256-RSA2048 mchid="1496684082",nonce_str="diJpvxCw4Odf4XiFVEs8Wj141mszwA59",timestamp="1620984010",serial_no="78900d4e5b6da00e358da5ed38540b1a9b2ba2c5",signature="lnIPNS65BKNTEZCdPgqdJUYK7L0Q0yu9zl7pDexzFGwCXePcse0VYPLDsx5t7pvacZwCTGp58EDmDibN1QaHHwFJGd9226OuhqIhuBsVXi2uEuthBH3cmLxe8WjKlG8ANzKmmjjxAblU1Kh1cj+qKAPGeb0GQTOyiAIGNhwjnt5w9IvrfUUpvqFlVIFTItreJB4YrlRnyRTeptlxhN62QtkMGUTPbHEI6gGc6nAi37zgabWP+SHslUTa4fA8unbd5yopkW77MkqUi39TxJXopinufmKSGaX55DTr63/znqBnXmcByvUZv9RQUTrieL4OtkGsyWiTyNGJQwwbEtUrYA==" >> User-Agent: WechatPay-Apache-HttpClient/0.2.2 (Windows 10/10.0) Java/1.8.0_191 17:20:10.431 [main] DEBUG org.apache.http.wire - http-outgoing-1 >> "GET /v3/payscore/permissions/openid/o-8O45fVNZbW1HOFSFdNqbgyMg6U?appid=wx1c2e7f613a01e182&service_id=00003014000000162080195171612757 HTTP/1.1[\r][\n]" 17:20:10.431 [main] DEBUG org.apache.http.wire - http-outgoing-1 >> "User-Agent: WechatPay-Apache-HttpClient/0.2.2 (Windows 10/10.0) Java/1.8.0_191[\r][\n]" 17:20:10.595 [main] DEBUG org.apache.http.wire - http-outgoing-1 << "HTTP/1.1 500 Internal Server Error[\r][\n]" 17:20:10.595 [main] DEBUG org.apache.http.wire - http-outgoing-1 << "Request-ID: 08C881F984061083051891ACD6A30620822928CC3B-271290892[\r][\n]" 17:20:10.595 [main] DEBUG org.apache.http.wire - http-outgoing-1 << "{"code":"SYSTEM_ERROR","message":"[0xe7][0xb3][0xbb][0xe7][0xbb][0x9f][0xe7][0xb9][0x81][0xe5][0xbf][0x99][0xef][0xbc][0x8c][0xe8][0xaf][0xb7][0xe7][0xa8][0x8d][0xe5][0x90][0x8e][0xe9][0x87][0x8d][0xe8][0xaf][0x95]"}" 17:20:10.595 [main] DEBUG org.apache.http.headers - http-outgoing-1 << HTTP/1.1 500 Internal Server Error
2021-09-10