官方文档链接:https://pay.weixin.qq.com/wiki/doc/api/mch_xiaowei.php?chapter=19_11
API证书已经升级最新
请求参数
<xml>
<mch_id>1555586321</mch_id>
<nonce_str>2ymep9nrwvpqy6cj345grhqiqj8jh1e1</nonce_str>
<sign_type>HMAC-SHA256</sign_type>
<sign>E2756F4A887BCA199A7AA719F3D3C3DF</sign>
</xml>
返回结果
Array
(
[return_code] => FAIL
[return_msg] => SIGN_ERR
[err_code] => PARAM_ERROR
[err_code_desc] => PARAM_ERR: SIGN_INVALID
)