多次回调处理,成功返回
<xml>
<return_code><![CDATA[SUCCESS]]></return_code>
<return_msg><![CDATA[OK]]></return_msg>
</xml>
https://pay.weixin.qq.com/wiki/doc/api/wxa/wxa_api.php?chapter=9_7&index=8
前端处理:https://blog.csdn.net/weixin_39706415/article/details/86623595 https://www.cnblogs.com/cinlap/p/11091163.html
公众号支付
接口文档:https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=7_7&index=6
后台配置:https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=7_3
微信登录
微信手机端报出了 redirect_uri域名与后台配置不一致,错误码:10003 错误
配置网页授权域名

将授权验证文件放到项目根目录

后台通过AppID和 AppSecret 进行开发

小程序支付apiKey配置
key设置路径:微信商户平台(pay.weixin.qq.com)-->账户设置-->API安全-->密钥设置
https://pay.weixin.qq.com/wiki/doc/api/wxa/wxa_api.php?chapter=4_3
H5支付报 ERROR_GATEWAY: Get Wechat API Error:签名错误
可能是金额传了0,需要优先检查一下
参考: https://blog.csdn.net/pansanday/article/details/80685503 https://www.cnblogs.com/qlqwjy/p/11795260.html
官方文档:https://developers.weixin.qq.com/doc/offiaccount/OA_Web_Apps/Wechat_webpage_authorization.html
文档官网:https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pages/index.shtml
支付产品:https://pay.weixin.qq.com/wiki/doc/api/index.html
基础文档:https://pay.weixin.qq.com/wiki/doc/api/micropay.php?chapter=2_1
支付验收指引:https://pay.weixin.qq.com/wiki/doc/api/tools/mch_pay.php?chapter=23_1
开发文档:https://pay.weixin.qq.com/wiki/doc/apiv3/index.shtml
v3接口文档:https://pay.weixin.qq.com/wiki/doc/apiv3/wechatpay/wechatpay-1.shtml
v3签名文档:https://pay.weixin.qq.com/wiki/doc/apiv3/wechatpay/wechatpay4_0.shtml
v2接口文档:https://pay.weixin.qq.com/wiki/doc/api/wxpay_v2/jiekouguize/chapter1_1.shtml
v2签名校验:https://pay.weixin.qq.com/wiki/doc/api/wxpay_v2/jiekouguize/tool.shtml