Overview
After the team has bound the merchant account, if the mini program within the team involves payment, the mini program team administrator needs to apply to the superapp under the "Commercialization-Standard Payment" module to activate the payment function for the mini program. Only after receiving approval from the superapp can the mini program access its payment capabilities.
Enable payment
Enable payment process
1. Select the mini program for which you want to enable the payment function and click Request permission.
2. Fill in the request message, click Confirm, submit the application, and wait for the superapp approval.
3. After approval, a transaction number will be generated, which will be used when calling payment-related interfaces, mainly for associating with the merchant number of the superapp.
Security
It includes a security certificate and APIv3 key, which are used for identity authentication during the payment process and payment callback information encryption respectively. Only the mini program team administrators and the mini program senior developers can download, reset certificates, and configure keys.
Security Certificate
After activating the payment function, SAS will generate a security certificate for identity verification during the payment process. Please keep it properly after downloading. If there is a risk of the certificate being leaked, please reset it in time.
APIv3 Key
APIv3 key is used in payment API processing callback notifications. To prevent the message from being maliciously tampered with by others, the server will encrypt the data.
Click Settings and enter the APIv3 key. The format requirement is: 32 characters, which must contain a combination of numbers and uppercase and lowercase letters.
Order records
After using the payment function in your mini program, the generated payment orders can be viewed in the order record.