How to activate WeChat Pay for WeChat Mini Programs
Published: 2018-05-18
How to enable WeChat Pay in WeChat Mini Program
I. Log in to the WeChat Mini Program platform (https://mp.weixin.qq.com/)
1. Click [WeChat Pay], as shown in the figure:
2. If there is no data in Merchant Number Management, it means that the current Mini Program has not yet been authorized and associated with the WeChat Pay function; the unassociated interface is shown in the figure:

II. Authorize and associate the WeChat Mini Program with a WeChat Pay merchant
1. If you have not yet applied for a WeChat merchant (skip this step if you already have one), first click [Connect to WeChat Pay] - [Apply for Access], as shown in the figure:


2. After you have a WeChat merchant number, go to [Merchant Number Management] - [Associate More Merchant Numbers],as shown in the figure:

For specific association operations, please refer to the relevant guide: https://pay.weixin.qq.com/static/pay_setting/appid_protocol.shtml
3. If it is a sub-merchant (merchants with multiple WeChat Pay merchants should pay attention to selecting the sub-merchant account for login)
Service providers log in to the Service Provider Platform - Service Provider Functions - Sub-merchant Management, click Configure, and enter the payment configuration page for that sub-merchant

For specific association operations, please refer to the relevant guide: https://kf.qq.com/faq/190715yaYnYv1907153mmIbA.html
Note: After initiating the authorization application, the merchant must go to the corresponding platform to confirm the authorization application.

Currently, only ordinary-type merchant numbers under the new interface that have the same entity and have completed all account opening processes can be bound. Other types are not supported. Details are as follows:
1) The verified entity of the merchant number is inconsistent with that of the appid;
2) The merchant number has not completed all account opening processes, including failure to verify identity or sign an agreement;
3) The merchant number is a merchant number under the old tenpay interface and has not completed the new interface upgrade;
4) The merchant number is an overseas-type merchant number;
5) The merchant number is a service-provider-type merchant number;
6) The merchant number is restricted due to a penalty for violation;
In addition, if you choose this method, please confirm whether your business model and business scope are consistent with the “bound merchant number.” If not, please follow the new application process to obtain a new merchant number.
3. After successful verification, you will enter the binding success page; you can develop WeChat Pay with this merchant number and collect payments with this merchant number. After seeing the binding success prompt, your WeChat Pay function has been successfully enabled. Please refresh the WeChat Pay application page on the Official Accounts Platform to obtain the latest status. As shown in the following figure:

Explanation of Enablement Methods
1) New application: Same as the previous application process, obtain a new merchant number bound to the Official Account through the account opening method of “submit application materials, review, verification, and signing.”
2) Binding: That is, “bind an existing merchant number to enable WeChat Pay.” Developers who already have a merchant number can quickly enable WeChat Pay through this method.
Note: Both enablement methods are irreversible; please choose according to your own business situation.
