This article is a mirror article of machine translation, please click here to jump to the original article.

View: 5418|Reply: 0

WeChat Pay JSAPI URL of the current page is not registered for the solution

[Copy link]
Posted on 12/7/2021 10:26:21 PM | | | |
WeChat JSAPI recall payment document:The hyperlink login is visible.

Through WeChat on your mobile phone, open the H5 web page in the WeChat browser and perform JS to call up payment. The error is as follows:
The URL of the current page is not registeredhttps://www.itsvse.com/xxx


solution

Log in to WeChat Merchant Platform -> Product Center -> Development and Configuration, JSAPI Payment "Payment Authorization Directory",You only need to add a domain name, not exactly to the directory level, as shown in the figure below:



Quick Links:The hyperlink login is visible.After setting up, successfully call JSAPI WeChat Pay, as shown in the figure below:



(End)




Previous:Java implements DES data encryption and decryption
Next:CryptoJS DES front-end encryption decryption
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com