商户号、v3密钥和证书都检查了,但是一直报这个错,不清楚什么问题。和支付公钥有关吗?
代码段:
打印数据为:
{
"logger": {
"enable": true,
"file": "\/www\/wwwroot\/XXX/runtime\/log\/pay\/pay.log",
"level": "info",
"type": "daily",
"max_file": 30
},
"http": {
"timeout": 5,
"connect_timeout": 5
},
"wechat": {
"default": {
"mode": 0,
"mch_secret_cert": "\/www\/wwwroot\/XXX/123456.pem",
"mch_public_cert_path": "\/www\/wwwroot\/XXX/234567.pem",
"alipay_public_cert_path": "",
"app_public_cert_path": "",
"alipay_root_cert_path": "",
"app_secret_cert": "",
"service_provider_id": "",
"mch_id": "XXX",
"mch_secret_key": "XXX",
"sub_mch_id": "",
"sub_mch_secret_key": "",
"sub_mch_public_cert_path": "",
"sub_mch_secret_cert": "",
"_type": "mp",
"mp_app_id": "",
"notify_url": "https:\/\/XXX/WechatOfficialAccount"
}
}
}