Douyin inquiry system source code configuration/source code/system construction

The construction tutorial of the Douyin inquiry system has been explained in detail for everyone before. I believe that through the explanation of the tutorial, basically friends with a little foundation can build it. Although the initial mode of the Douyin inquiry system is to develop merchants through agents. It is promoted, but in actual use, many customers have proposed the function of direct online payment by merchants. So today I will teach you how to configure the online payment function of the source code of the inquiry system (WeChat payment example).

1. Log in to the service account, open the official account settings, if not certified, please authenticate the service account first, the certification fee is 300 yuan/year

10eff64a9ef33b005704b9405bd8e416.jpeg


2. Open Official Account Settings -> Function Settings, and bind your filing domain name to the service account

221ff783bd0c31b36b6223e85a7de5fc.jpeg

3. Click the settings of the three domain name configurations. A domain name adding pop-up window will pop up, put the domain name into the pop-up window of the service account

1661ee66ac54899b2d9f3809d790a37b.jpeg

Download the file in the pop-up window and transfer the file to /www/wwwroot/douyin_xunpang/public of the pagoda

32e2dfdc1f2ec116134554a7004d5761.jpeg


Click Submit again to add the domain name successfully


4. In the basic configuration, you can see that the first two are the appid of the public account, and the secret key of the public account, which can be filled in the general inquiry system

f6e3d627277316f7a03f81dc7ec6fb52.jpeg

5. Configure the ip whitelist and add the server ip to it

75656591d24b4400178798d8058d3a6b.jpeg


6. Associate WeChat merchant account

c6b1fc067043e3a82a052e3e1b68a594.jpeg


7. Log in to the WeChat merchant platform and set up the payment authorization directory. add two directories

1. Domain name + /store/

2. Domain name + /store/index/

727123b0cdf3871d1a896fa89a5a34b3.jpeg


8. Get the API payment key. Randomly set 32 ​​characters, fill the payment key into the inquiry background

4005b4a8297b0b8dec61fd58b7ec5e98.jpeg


9. The payment page is (need to open with mobile phone WeChat)

a0130139c9c46c15227390c4da5e9194.jpeg

Guess you like

Origin blog.csdn.net/u012497373/article/details/128256808