当前位置:网站首页>How to activate the payment function on WeChat official account?
How to activate the payment function on WeChat official account?
2022-08-10 01:47:00 【susu98637】
With the start of the second half of mobile payments, many merchants are now actively preparing for the online transition.Using WeChat official account to pay is undoubtedly the first choice for many merchants. It can not only set up the merchant's own brand, but also allow fans to follow the official account, and at the same time, it can also use WeChat traffic to increase exposure.
And for consumers, opening WeChat and using the official account to buy goods is bound to be more convenient and handy than other methods.
However, many merchants and service providers will step on many "pits" when opening the account because they are not aware of the particularity of the official account payment. I will share with you some procedures for opening the official account payment, as well as precautions.
1. First of all, merchants need to apply for opening their own WeChat official account (must be a service account) on the WeChat official platform, and deploy their own products and purchase portals in the official account.
2. After you have your own official account, you can apply for opening a payment merchant account.
1) When applying, please note that you need to use the same merchant entity as the official account application entity as the name of the merchant account to access the network;
2)Especially for merchants with parentheses in the subject name, pay special attention to the format of the parentheses in the subject when applying for an official account at that time, and must be consistent.
It is usually recommended that merchants directly copy the subject name from the WeChat public background to the service provider to ensure that everything is safe.The paste location is: WeChat public background - official account settings - "subject information" content in account details.
3) After opening the merchant account, the merchant needs to provide the appid of the official account and the payment authorization directory to the service provider.
The official account appid: the unique identifier of the WeChat official account, usually an 18-bit string starting with "wx".After applying for an official account on the WeChat public platform, WeChat will automatically assign the corresponding appid to uniquely identify the application.It can be viewed on the WeChat public platform - Developer Center, and this field will also be included in the merchant's official account opening email.
Payment authorization directory: that is, the domain name address that uses the official account payment method to initiate payment requests.
(1) All domain name links that use the official account payment method to initiate payment must be under the payment authorization directory;
(2) Up to 5 can be configured at the same time (can be modified and replaced), and the domain name must pass the ICP record;
(3) The header of the directory must contain http or https, and it needs to be refined to the second or third level directory, ending with "/".
Payment process:
The user opens the merchant's webpage to purchase products, initiates payment, calls the getBrandWCPayRequest interface through JavaScript on the webpage, initiates a WeChat payment request, and the user enters the payment process.
After the user successfully pays and clicks the Done button, the front end of the merchant will receive a JavaScript return value.Merchants can directly jump to the static page of successful payment for display.
The merchant's background receives the payment success callback notification from the WeChat open platform, indicating that the order payment is successful.
边栏推荐
猜你喜欢
arm-4-裸板开发
安全知识培训——消防安全
Today's sleep quality record 61 points
365天挑战LeetCode1000题——Day 052 逐步求和得到正数的最小值 贪心
有PEG-Biotin参与的(CAS:1778736-18-7)Biotin-PEG4-OH广泛用于分子靶点检测
c语言指针练习题
Win7怎么把控制面板添加到右键菜单
西安生物素-四聚乙二醇-酰胺-4苯酚 浅黄色半固态
[C language] In-depth understanding of pointers and arrays (issue 4)
信息系统项目管理师核心考点(六十四)信息安全基础知识重要概念
随机推荐
服装店管理系统如何推送活动?
阿雷的血压有些低
Kubernetes YAML编写 讲解
考柏的感慨
微服务【同步和异步通讯详解】第6章
3.1 - 程序设计语言 3.2 - 高级语言的特点及引用 3.3 - 静态/动态类型语言
温度响应性纳米水凝胶光子品体/纤维素修饰荧光水凝胶/载脂质体水凝胶的制备方法
3.11-程序基本的控制语句 3.12-表达式 3.13-数据类型 3.14-常量/变量 3.15-标识符
-红与黑-
大龄测试员刚迈过了 35 岁这个“坎儿”,和大家说点儿心里话
YOLOV5 study notes (7) - training your own data set
Solidity 智能合约入门
JSP简介
移动终端数据业务高安全通信方案研究
E - Sugoroku 3(期望dp)
最高月薪15K,谁有历经千辛万苦的意志,谁就能收获属于自己的成功~
When knowledge and action are one
win10重装系统后没声音怎么办?
线程的同步与互斥
无源晶振负载电容值CL匹配方法及说明