Infocode, a professional WeChat development company, will introduce you to the relevant knowledge of WeChat public account payment development in detail, helping you quickly master the key points of WeChat public account payment development.
What is WeChat Official Account Payment?
WeChat official account payment is a payment method provided by WeChat for developers. Users can complete payment by simply performing simple operations in WeChat. Developers can realize online transactions of goods or services by calling the WeChat payment interface. WeChat official account payment supports multiple payment methods, such as bank card payment, balance payment, etc.
WeChat development service provider: Introduction to the key points of WeChat public account payment development
How to enable WeChat Official Account Payment?
To use the payment function on WeChat official accounts, you first need to register and open an official account on the WeChat public platform . After opening the official account, go to the “Development”-“Basic Configuration” page and fill in the company information and authentication information. After completing the taiwan phone number library authentication, you can go to “Development”-“Developer Center” to obtain the AppID and AppSecret.
You need to enable “Web Authorization Security Domain Name” in “Settings” – “Developer Settings” of WeChat Official Account Platform. Add your website domain name to the authorized domain name list so that users can jump to your website normally when completing payment operations in the official account.
How to access WeChat official account payment?
1. Download SDK
Before you start connecting to WeChat official account payment, you need to download the WeChat payment SDK. Visit the WeChat how to use testimonials for your online marketing actions payment official website and select the appropriate version to download the corresponding SDK file.
2. Initialize SDK
Introduce WeChat Pay SDK into your project and perform initialization operations. Usually you need to provide parameters such as AppID, AppSecret and merchant number.
3. Realize a unified ordering interface
The unified ordering interface is the core interface of WeChat official account payment. By calling this interface, you can generate a prepayment transaction document.
4. Implement the order query cg leads interface and order closing interface
The query order interface is used to obtain the user’s payment voucher. The close order interface is used to release the user’s pre-paid transaction document.
5. Implement the statement interface and the statement download interface
The statement interface is used to download the user’s billing details.
For more information about WeChat development , or if you want to know about WeChat development costs, please contact Lanchang customer service