当前位置:网站首页>微信H5支付(报跨域问题)
微信H5支付(报跨域问题)
2022-04-22 02:57:00 【木豆mudou】
H5支付开发文档

在开发微信H5[支付]的时候, 后端返回的是一个文件, 我在前端打开的时候会报一个跨域的错误, 后来查阅到, 让后端返回微信支付转跳链接地址, 然后前端直接location.href转跳
eg:
https://wx.tenpay.com/cgi-bin/mmpayweb-bin/checkmweb?prepay_id=prepay_id&package=package&redirect_url=redirect_url
redirect_url是支付成功调用后, 需要转跳的地址, 此地址需要进行urlencode处理
而且支付成功后, 可能会出现一些问题:

且 在夸克浏览器会打开一个叫ext:lp:home的空白页, 暂时没有查阅或者想到解决的办法
版权声明
本文为[木豆mudou]所创,转载请带上原文链接,感谢
https://blog.csdn.net/qq_37146616/article/details/124273111
边栏推荐
- How did opensea become the most popular NFT market?
- [※ leetcode sword finger offer 13. Motion range of robot (simple)]
- Golang dependency injection wire. When executing the wire command, an error is reported: bash: Wire: command not found
- 源代码加密产品指南
- Day11 job
- Possible reasons for slow response of Web site access
- Who has the at instruction set of CDMA mobile phone? Even the strange problems encountered by the computer. [email protected]
- 2022-4-21作业
- How to run collabora office in openshift
- Create a two-way linked list (detailed explanation)
猜你喜欢

Why does MySQL index use B + tree instead of jump table?

顺序表实现栈的操作

824. 山羊拉丁文(字符串分割 + 字符串替代)

Golang dependency injection wire. When executing the wire command, an error is reported: bash: Wire: command not found

How did opensea become the most popular NFT market?

Text processing - sed

How to solve the deadlock problem in MySQL?

Flink 细粒度资源管理新特性解读

终于看清阿里,美团,京东这些企业的真面目了

How long can we rely on play to earn economic profits?
随机推荐
Analysis on the development status of meta universe
MODEM拨号放音,原来写在大富翁,汇总过来。
Rational view of the advantages and disadvantages of automated testing
Who has the at instruction set of CDMA mobile phone? Even the strange problems encountered by the computer. [email protected]
金融信息安全實訓——22/4/19(上)
All primes - ladder training competition
Five cool login pages that can be used
kerberos认证协议
Leetcode answer notes (I)
Intel's latest achievement: manufacturing large-scale silicon-based quantum bits
kerberos認證協議
2022-4-21作业
二十五.模块/内置模块/模块的安装
class数组的类似常量定义
[TIANTI competition] l2-040 Zhezhi game (25 points (s)) (simulation)
金融信息安全实训——22/4/19(上)
Interval merging board
刷题计划——动态规划dynamic programming(一)
72. 编辑距离
如何通过沟通激发开放性思维