当前位置:网站首页>Wechat payment iframe sub page has no response
Wechat payment iframe sub page has no response
2022-04-23 03:32:00 【I can fix software】
Parent page signature For sub pages parent Call the parent page payment interface .
parent.wx.config({
debug: false, // Turn on debugging mode , Call all api The return value of will be on the client side alert come out , To see the parameters passed in , Can be in pc End open , The parameter information will go through log play , Only in pc Only when the end is printed .
appId: appId, // Required , The only sign of official account number
timestamp: timeStamp, // Required , Generate signature timestamp
nonceStr: nonceStr, // Required , Generate a random string of signatures
signature: signature,// Required , Signature , See appendix 1
jsApiList: ['chooseWXPay'] // Required , Required JS Interface list , all JS See Appendix... For the list of interfaces 2
});
parent.wx.error(function(res){
console.log(res);
});
parent.wx.ready(function(){
callPay();
});
版权声明
本文为[I can fix software]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204220607291063.html
边栏推荐
- 批量下载文件----压缩后再下载
- Design and implementation of redis (4): what is the event driver of redis
- Supersocket is Use in net5 - startup
- 【微服务】(十)—— 统一网关Gateway
- Problem a: face recognition
- JS - accuracy issues
- Optimization of especially slow startup in idea debugging mode
- Do you really understand hashcode and equals???
- Several common methods of multithreading
- Problem C: realize Joseph Ring with linked list
猜你喜欢
Development record of primary sensitive word detection
Design and implementation of redis (1): understand data structures and objects
MySQL query specifies that a row is sorted to the first row
Quartz. Www. 18fu Used in net core
On the principle of concurrent programming and the art of notify / Park
The art of concurrent programming (3): an in-depth understanding of the principle of synchronized
Idea view history [file history and project history]
Problem a: face recognition
AWS from entry to actual combat: creating accounts
Romantic silhouette of L2-3 of 2022 group programming ladder Simulation Competition (25 points)
随机推荐
PyMOL usage
Three types of cyclic structure
L3-011 直捣黄龙 (30 分)
JS takes out the same elements in two arrays
Super easy to use [general excel import function]
Utgard connection opcserver reported an error caused by: org jinterop. dcom. common. JIRuntimeException: Access is denied. [0x800
你真的懂hashCode和equals吗???
C interface
Design and implementation of redis (5): master-slave replication strategy and optimization
Translation of l1-7 matrix columns in 2022 group programming ladder Simulation Competition (20 points)
The fourth operation
Test questions and some space wars
Common exceptions
批量下載文件----壓縮後再下載
MySQL keyword group_ Concat, combined connection query
Applet - WXS
The art of concurrent programming (6): explain the principle of reentrantlock in detail
The query type of MySQL is very inefficient.
Unity knowledge points (ugui 2)
Database SQL -- simulate inserting a large amount of data, importing / exporting database scripts, timestamp conversion and database basics