当前位置:网站首页>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
边栏推荐
- Deep learning notes (II) -- principle and implementation of activation function
- QT dynamic translation of Chinese and English languages
- Build websocket server in. Net5 webapi
- Learn about I / O flow and file operations
- The website JS in. Net core cefsharp chromium WebBrowser calls the C method in winfrom program
- String input problem
- Problem C: Hanoi Tower III
- . net webapi access authorization mechanism and process design (header token + redis)
- C set
- Variable definition and use
猜你喜欢

2022 团体程序设计天梯赛 模拟赛 L1-7 矩阵列平移 (20 分)

L3-011 direct attack Huanglong (30 points)

Visual programming - Experiment 2

Mechanical design knowledge point planning

Visual programming - Experiment 1

2022 团体程序设计天梯赛 模拟赛 1-8 均是素数 (20 分)

On the principle of concurrent programming and the art of notify / Park

Problem a: face recognition

TCP three handshakes and four waves

Optimization of especially slow startup in idea debugging mode
随机推荐
ThreadLocal test multithreaded variable instance
MySql分组查询规则
Punch in: 4.23 C language chapter - (1) first knowledge of C language - (12) structure
Problem B: small challenge
Codeforces Round #784 (Div. 4)题解 (第一次AK cf (XD
2022 团体程序设计天梯赛 模拟赛 L2-1 盲盒包装流水线 (25 分)
Problem C: Hanoi Tower III
Super easy to use [general excel import function]
Development record of primary sensitive word detection
Basic use of Charles
2022 团体程序设计天梯赛 模拟赛 1-8 均是素数 (20 分)
Unity knowledge points (ugui 2)
Websites frequented by old programmers (continuously updated)
Using jsonserialize to realize data type conversion gracefully
C abstract class
L3-011 直捣黄龙 (30 分)
Log4net is in Net core usage
Codeforces Round #784 (Div. 4)題解 (第一次AK cf (XD
QT learning summary
Supersocket is Used in net5 - command