Blogger Information
Blog 91
fans 0
comment 0
visits 203534
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
【坑】微信H5支付唤醒微信APP报 “系统繁忙,请稍后再试”
何澤小生的博客
Original
2150 people have browsed it

最近在做聚合支付时,遇到调用 微信 H5 支付,可以正常唤醒微信APP ,但提示“系统繁忙,请稍后再试”~~

猛地一看还以为是微信服务出了问题,赶紧看看微信聊天还能不能正常使用(哈哈哈……)

微信图片_20201014180311.jpg


把请求数据给打印出来,发现了遗漏点(缺少参数)

正确唤醒的Url:

    20200811115826337.png

错误唤醒的Url:

20200811115619743.png

唤醒微信APP的url是跳转到微信网页后唤醒的,属于微信自发的url,所以是在上一级的url开始出错,查找代码上的url,打印出来没有问题,那就是执行的时候可能出了问题:

检查被执行的url,发现&符号被转义成了&

2020081113391645.png

问题就出在这里了:

20200811120434963.png

最终确定了是因为tp框架的变量在一般情况使用时,会被转义成非html字符串,url被转义莫名躺枪,修改为非转义标签就可以了

20200811120621322.png

执行一下,H5页面唤醒微信APP成功!



文章转自:https://blog.csdn.net/shark_pang/article/details/107930849





Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post