下载了微信的Native的支付demo,修改了DemoConfig.cs文件中如下参数运行始终报错
<xml><return_code><![CDATA[FAIL]]></return_code>
<return_msg><![CDATA[错误的签名,验签失败]]></return_msg>
</xml>
public string GetAppID(){
return "wx28ebb2060f5cb***";
}
public string GetMchID(){
//return "1608246507";//
return "1495431972";
}
public string GetKey(){
//return "jiangducaishui20210410weixinpay1";//
return "BwplcSWb21p84q7iJ21c6s0NOJpem***";
}
V3签名可参考 https://developers.weixin.qq.com/community/develop/doc/000c46d5d481804ba98bec90356809
可能是支付key不可用