


Preliminary work for WeChat public platform development
As shown in the figure, URL (network link for signature verification), Token,
JSInterfaceSecurity fields are required, and among them URL and Token are required, and before configuring them, you must first upload the signature verification code to your development server. Otherwise, no matter how you submit the interface configuration information, it will only prompt a configuration failure. The URL mentioned earlier is the network path to access the signature verification code. The signed code is provided in WeChat development documents:
WeChat signature verification code
- Use WeChat Development tools
- Debugging
, you need to add the developer WeChat ID to the list of developer test accountsIf the project you need to debug requires authorization operations, you must log in to the one you currently belong to WeChat public platform adds your WeChat account to the list of becoming a developer test account.
Added to developer test account list 1.0
Add to developer test account list 1.1
Paste_Image.png
- WeChat webpage calls JS
- API
Payment
First, you must place an order uniformly, and the order is placed successfully The corresponding
Paste_Image.png
After the unified order is successfully placed, call: getBrandWCPayRequest The interface activates the WeChat payment plug-in to realize payment;
The process is like this, but this cannot fully activate WeChat payment, and the following pitfalls will appear:
Paste_Image.png
The reason for not registering is that the payment module of your official account platform has not authorized the directory of your page to be the payment authorization directory (that is, to register this payment page), as follows :
##Paste_Image.png
##Paste_Image.png
The above is the detailed content of Detailed introduction to cold knowledge about WeChat development (picture). For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

Dreamweaver Mac version
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

WebStorm Mac version
Useful JavaScript development tools