Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
357 views
in Technique[技术] by (71.8m points)

公众号配置微信支付的问题

我是要配置微信JSAPI支付的,然后我配置自己的回调域名,这个就一直错误,但是我设置的域名我对比了几遍都是正确的,如图,url是这个,

https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx4155f0f5b87a950a&redirect_uri=http%3A%2F%2Fzqshapi.shunihong.com%2Findex.php%2FHome%2FWeChat%2FGetOpenid&response_type=code&scope=snsapi_base&state=STATE#wechat_redirect

包括别人说是redirect_uri应该是https也试过了

https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx4155f0f5b87a950a&redirect_uri=https%3A%2F%2Fzqshapi.shunihong.com%2Findex.php%2FHome%2FWeChat%2FGetOpenid&response_type=code&scope=snsapi_base&state=STATE#wechat_redirect

但还是会报这样的错误
image.png
image.png
image.png


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

我随便从一个项目里面找了一个
image.png

看起来你的地址没问题,感觉有可能是index.php微信那边不认识,你把index.php rewrite掉试试http://zqshapi.shunihong.com/...

另外这和微信支付没半毛钱关系,这是微信授权登录好么


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...