search
HomeWeChat AppletWeChat DevelopmentDetailed introduction to cold knowledge about WeChat development (picture)

  • Preliminary work for WeChat public platform development

Detailed introduction to cold knowledge about WeChat development (picture)

##Preliminary work for WeChat 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:

Detailed introduction to cold knowledge about WeChat development (picture)
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.

Detailed introduction to cold knowledge about WeChat development (picture)
Added to developer test account list 1.0

Detailed introduction to cold knowledge about WeChat development (picture)
Add to developer test account list 1.1

If you do not perform this operation, you cannot debug on the WeChat development tools:


Detailed introduction to cold knowledge about WeChat development (picture)
Paste_Image.png

    WeChat webpage calls JS
  • API
    Payment
  • First, you must place an order uniformly, and the order is placed successfully The corresponding
json

will be returned:

Detailed introduction to cold knowledge about WeChat development (picture)
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:

Detailed introduction to cold knowledge about WeChat development (picture)
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 :

Detailed introduction to cold knowledge about WeChat development (picture)##Paste_Image.png

##Paste_Image.pngDetailed introduction to cold knowledge about WeChat development (picture)

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!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

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

Hot Tools

MantisBT

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

Dreamweaver Mac version

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools