采用的是合作商户的模式
url:https://api.mch.weixin.qq.com/v3/pay/partner/transactions/jsapi
特约商户的appid和mch_id也已经绑定了,调用还是报错
{ "code": "APPID_MCHID_NOT_MATCH", "message": "appid和mch_id不匹配,请检查后再试" }
支付的参数
{
"description": "车辆停泊费用-浙A12345-10.00元",
"out_trade_no": "P20240518145324732000008",
"amount": { "total": 1000, "currency": "CNY" },
"payer": { "sub_openid": "oUroM6j7kcZTH4bko81Vs_6xf8K0" },
"notify_url": "****(实际传入的是正确的值)",
"sp_mchid": "1668501868",
"sp_appid": "wxc294ff265e198a25",
"sub_mchid": "1677192934",
"sub_appid": "wx23aab6524b07cb7f",
}
你这个解决了吗,怎么解决的
贴个图证明一下你请求参数中的APPID和mchid存在绑定关系