# Instructions for connecting to WeChat Channels
In order to assist developers in monetizing their live streams via WeChat Channels, WeChat provides Weixin Mini Program to enable access to WeChat Channels, which can be achieved through either the standard transaction component or the custom transaction component.
# Access requirements for WeChat Channels
Complete the access of custom components / complete the access of standard components;
Complete the application and integration of the merchant account and interface required for the WeChat Channels scenario.
Basic customer service and aftersales capabilities need to be developed in Weixin Mini Program and customer service updates need to be complete through the interface to update merchant information and interface to upload goods normally.
# Function introduction of WeChat Channels after integration
Merchandise display and sales functions can be implemented in the WeChat Channels scene.
Support more live marketing games (coupons, sweepstakes, pre-sales, etc.)
3, support Weixin Mini Program customer service components, businesses can more convenient to receive customer service advice
The order center displays more complete order information, and users can check the order status on their own.
- Users can continue to make payments and initiate after-sales service in the order center of WeChat Channels.
# Operating Instructions
# Step 1: Finish the standard version / custom component access
# Custom version of the transaction component access process:
# Merchants who have completed custom component access need to be aware that the changes are as follows:
You will need to apply for a merchant account specifically for your business: Refer to Section 2.1b, and you can apply directly in the "Weixin Mini Program Backend > Transaction Components > WeChat Channels Scenarios" section (it is expected to be launched by the end of March), or you can use the application interface to complete the process.
The order interface needs to be updated: Referring to 2.3a, you need to call the interface that generates payment parameters on the WeChat side to generate the parameters required to pull up the checkout screen in the WeChat Channels scenario; otherwise, payment cannot be completed in WeChat Channels. (Suggestion: Check if the scene value falls within the payment validation range—if it is for the WeChat Channels scene—> Call the interface to generate the order and payment parameters—> Use the parameters to trigger the checkout interface—> Complete the payment)
3, after-sales interface update: reference 2.5a, all after-sales related operations need to be synchronized through the interface / callback.
1) When a user initiates a post-sales request for a WeChat Channels scenario order with a merchant Weixin Mini Program, they need to call the interface for generating a post-sales order to create a post-sales order, and then call the interfaces related to post-sales operations to manage the post-sales status;
2) After-sales services initiated by users on WeChat Channels need to receive the after-sales status through callback and use the corresponding after-sales service interface to manage the after-sales status.
# Note: An application for access via the API requires Weixin Mini Program administrators to go to the message notification to view the template message and sign the legal agreement, which is successfully signed before the interface can be debugged.
# Merchants who have not completed custom component access can refer to the following process for accessing:
Among them:
# 1: Leading the process and opening the application
Access to custom trading components
# Note: An application for access via the API requires Weixin Mini Program administrators to go to the message notification to view the template message and sign the legal agreement, which is successfully signed before the interface can be debugged.
# 2: Finish the interface call
# 2.1a Merchant Code Development
Access to custom trading components
# 2.1b Application for Merchant Number
To operate the WeChat Channels scenario, you need to apply for a merchant account as the financial account for the scenario.
Click the application button, enter the application process, follow the process to complete the application content, and you can complete the merchant number application, as shown in the following figure:
When applying for a merchant number, you can also complete the application by calling the input interface interface, and the status of the application can be queryed by the status query interface .
After applying for a merchant number, the merchant number can be managed through an interface, such as:
- 1, want to view the business number of the operating water, call to get the flow of funds list
- 2, need to see a separate flow of water, call to get the details of the flow of funds
- 3, check the balance of the merchant number, call to check the balance of the merchant
- When you need to withdraw cash, call to initiate withdrawal
- When querying the withdrawal record, call to get the withdrawal record details
- 6, modify the merchant settlement withdrawal merchant number, call to modify the settlement account
- 7, query the current merchant settlement merchant number, call query settlement account
- When obtaining withdrawal records in bulk, call to obtain withdrawal records list
...
# Note: The application for a merchant number can be carried out in synchrony with the product interface and can be in parallel with each other.
# 2.2a Business Upload Goods
Access to custom trading components
# Note: You need to update the customer service through the to update the merchant information interface before you can upload the goods normally.
# 2.3a Debug Order Interface
The developer class refers to the order-related interface and the order-relevant development guidelines to call the interface, successfully call it, click the order-integration completion button, and the access process state becomes completed, otherwise a failure will be alerted.
The payment process is as follows:
- (1) Modify base library configuration according to development guidelines
- (2) Call the order generation interface in Weixin Mini Program to generate an order
- (3) Call to generate payment parameters
- (4) Using wx.requestOrderPayment, pull up the cash register and let the user complete the payment
- (5) Obtain the payment result of the order in the order payment success callback
# Note: Use payment success as the final confirmation step.
# Note: After the renovation of the basic library interface, it needs to be published before it can be effective.
# 2.4a Merchant Upload Items
Access to custom trading components
# Note: You need to update the customer service through the to update the merchant information interface before you can upload the goods normally.
# 2.5a debugging after-sales interface, complete the after-sales interface call
Development students need to call after-sales interface will generate after-sales orders after-sales information flow, synchronization.Once the call is completed, click the aftermarket interface finish button, and the access process state becomes completed, otherwise a failure will be alerted.
When users or merchants handle aftersales, they need to call the corresponding aftersales interface to synchronize the aftersales status, such as:
- 1, when the user cancels the after-sales single, call the user cancels the after-sales single
- 2, when the user returns the refund, if there is logistics information, call user upload logistics information
- 3, when the merchant agrees to refund, call agreed to refund
- 4, when the merchant does not agree to return, call refused to return
- 5, when the business refuses the current after-sales, call refused to after-sales
...
# 2.6a - 2.7a
Access to custom trading components
# 3: Scene Access
Access to custom trading components
# 4: Scenarios for Sale
# 4.1-4.5
Access to custom trading components
# 4.6 Businesses synchronize disputes
When users encounter a transaction dispute problem, they can request the WeChat platform intervention to handle the dispute, and merchants need to complete the dispute handling through the dispute interface .
# The standard version of transaction component access process:
# Step 2: Selling products on WeChat Channels
Links Weixin Mini Program Guidelines:
Conditions for association: The component must have been successfully integrated (the custom component must be integrated into the WeChat Channels scenario), and one of the following conditions must be met for the current WeChat Channels to be associated with Weixin Mini Program
(1) The administrators of WeChat Channels and Weixin Mini Program are the same.
(2) The administrator of WeChat Channels is the promoter of Weixin Mini Program (you can set it up in the Promoter module within the transaction components section of the mini-program backend under the WeChat Channels scenario).
# Step 3: Set up WeChat Channels promoters and sharers
Weixin Mini Program After setting up a promoter, the promoter can bind the mini-program in their own WeChat Channels, which meets the requirement of binding multiple employees/stores to WeChat Channels.
Weixin Mini Program After setting the sharer, the sharer can share the direct broadcast room to the user, to achieve the demand for more traffic for the live broadcast.
Setting up guidelines:
(1) After connecting to the transaction component, go to the WeChat public platform and open "Transaction Component > Scene Access > WeChat Channels Promotion/Sharing".
(2) Click "Push Member / Share Member" enter WeChat number, click search, in the search results, check the WeChat
(3) Click on "confirm" to do so
Note: Pusher can only switch the bound Weixin Mini Program once every six months, some e-commerce platform Mini Program temporarily does not support the use of pusher function.
# Step 4: Manage merchant numbers and withdrawals, etc.
You can refer to Section 2.1b for the application process and interface for obtaining a merchant ID, or you can manage it through the “Transaction Components > WeChat Channels Scenarios > Merchant ID Management” section in the Weixin Mini Program backend.
The above was most recently updated on: 18 March 2022