Section 3. Practical implementation of project payment function - WeChat payment platform access process, mini program account registration, merchant registration

Introduction

This article introduces the registration process of the mini program, the registration process of the merchant platform, and how to bind the mini program and the merchant platform.

WeChat Mini Program Registration

Since the mini program is used for payment in the project, first register the mini program. The Mini Program registration website is as follows: Mini Program registration address

Mini program account registration

1. Click "Go to Register" on the link page
Insert image description here
2. Fill in the account information: Please fill in the email address that has not been registered for the public platform, open platform, enterprise account, or unbound personal account.
Insert image description here
3. Activation email:
Log in to your email, check the activation email, and click the activation link.

4. Fill in the subject information: After clicking the activation link, continue to the next step of the registration process. Complete subject information and administrator information.
Fill in the subject information, select "Enterprise" as the subject type, and select the subject verification method - WeChat authentication. (Tip: Mini programs certified by WeChat can use the WeChat payment function)
Insert image description here
Fill in the administrator information (Tip: During the mini program setup process, you need to use the administrator WeChat code multiple times to scan the code. After successful registration, the administrator can be changed)
Insert image description here
Insert image description here

Mini Program WeChat Authentication

WeChat certification for enterprise-type mini programs requires the submission of relevant certification materials: organization code and business license photo.
Log in to the mini program backend, "Homepage - Mini Program Release Process - WeChat Authentication - Authentication" to enter the WeChat authentication page:
Insert image description here

1. Sign the "WeChat Public Platform Authentication Service Agreement", check the box to agree, and click Next.
Insert image description here

2. Fill in the information: Select the certification subject type and submit the corresponding certification materials.
3. Fill in the invoice: electronic invoices and paper special value-added tax invoices are supported. Special value-added tax invoices also need to submit a "Tax Registration Certificate" (enterprises that apply for three certificates in one can directly upload a new business license) and "Bank Account Opening Certificate" , the review company will review the qualifications. After passing the qualification review, Tencent will issue and send an invoice. The invoice information cannot be modified after submission; after the WeChat certification is completed (including successful and failed certification), Tencent will issue an electronic invoice about 8 working days after the certification review is completed, and a special VAT invoice will be issued within 30 working days after the certification review is completed.
4. Payment fee: Scan the WeChat QR code to pay the certification fee of 300 yuan/year. Wait for review after payment is completed.

Precautions

1. When registering a WeChat applet account, the following choices will appear:
Insert image description here
Here you can directly choose the WeChat authentication method. Only after WeChat authentication can you connect to the payment interface, and the interface will have higher permissions.

Register a merchant number

If we want to access the WeChat payment function and call the WeChat payment API within the mini program, we must first register a merchant number. This merchant number is the identifier of the subject and can also identify the identity of the accesser. Open the access guide page
and select I Have Mini Program
Insert image description here  
Insert image description here
Insert image description here
. As shown in the picture above: This QR code needs to be scanned by the super administrator of the merchant platform. After scanning, you will become the super administrator of the merchant platform. The super administrator is the contact person of the merchant account. He has the highest management authority of the merchant account. He will receive important notifications from the platform and can perform fund operations. Please make sure that the super administrator WeChat has successfully bound your bank card and is connected with the merchant to be bound. The real names of the contacts must be the same, otherwise the binding cannot be performed. During the registration process and when modifying information related to the merchant account in the merchant backend, you need to use the super administrator's WeChat code scanning verification and the corresponding mobile phone number verification code multiple times.

After scanning the QR code, follow the prompts to complete the merchant information. You can only fill in the required fields.
Insert image description here

There are two types of entities here: one is individual industrial and commercial households, and the other is enterprises. When selecting an individual industrial and commercial household, the account type can be filled in as a public account or a legal person account. If you choose a company, you need to fill in the public account.
When choosing here, you can choose according to your needs. For our mini program, just select the company.
Insert image description here
Insert image description here
Select the mini program for the business scenario here:
Insert image description here
directly fill in the APPID of the mini program here. Appid is the unique identifier of the mini program and can be obtained on the mini program platform.

After filling in all the above information, follow the prompts to verify the account. After the administrator scans the QR code on WeChat, he can complete the contract according to the prompts on his mobile phone.
Insert image description here

At this point, the merchant account has been created. At this time, you can log in to the merchant platform to view the binding relationship between the merchant account and the mini program.
Insert image description here
Of course, we can also log in to the mini program platform to view the binding relationship. Mini program homepage - "WeChat payment:"
Insert image description here

What needs to be noted here is that the merchant name filled in when registering the merchant must be consistent with the name of the subject filled in when registering the mini program.

At this point, the entire registration process is over, and we will enter the actual development in the next article. In the next article, we will first introduce the steps to access WeChat payment, the interface rules of WeChat payment, and the process of WeChat payment, and finally write some basic code.

Guess you like

Origin blog.csdn.net/superzhang6666/article/details/134926993