Detailed explanation of the direct relationship between the three major platforms of mp, open and pay

Y2J
Release: 2017-05-10 09:25:52
Original
9529 people have browsed it

This article mainly introduces the eleventh step of Java WeChat public platform development. The relationship between WeChat public platform, open platform and merchant platform in WeChat development has certain reference value. Interested friends can refer to it

I don’t know if you have these three platforms: WeChat public platform (map.weixin.qq.com)/open platform (open.weixin.qq.com)/merchant platform (pay.weixin.qq.com) Completely exposed. Some people may be unfamiliar with the others because they have come into contact with one or two of them, or they may not know what they do. It doesn’t matter, then this article will lead you to know them, whether you are a WeChat developer. Whether you are a WeChat operator or a WeChat operator, I believe you will have enough reasons to recognize and understand one or two of them!

(1) WeChat public platform (map.weixin.qq.com)

Official introduction: WeChat public platform is a new service platform that provides business services anduser managementcapabilities to individuals, enterprises and organizations.

This platform provides services for ordinary users (individuals), enterprises, and organizations. It is the domain of operators and developers! To put it bluntly, here are the services provided to us by subscription accounts, service accounts, and enterprise accounts, and the WeChat public platform also provides a platform for logging in, managing, and operating these three types of accounts, from registration to final login,article publishing, user management and other operations can be handled here, hereafter referred to as the mp platform!

(2) WeChat Open Platform (open.weixin.qq.com)

Detailed explanation of the direct relationship between the three major platforms of mp, open and pay

## Official introduction : The development platform is a platform that provides services to WeChat users, and the public platform development

interfaceis the basis for providing services. After developers create a public account in the public platform website and obtain the interface permissions, they can read this Interface documentation to help development!

This is mainly the domain of developers! We can find from the official introduction that this platform is mainly for developers, which involves mobile applications, website applications, public account development, public account third-party platforms, etc. WeChat login, payment and related development documents can be found here Found, it is simply a comprehensive collection of interfaces for WeChat and other third-party applications, which will be referred to as the open platform later!

(3) WeChat Merchant Platform (pay.weixin.qq.com)

Detailed explanation of the direct relationship between the three major platforms of mp, open and pay## Official introduction : WeChat Pay is the payment business brand of Tencent. WeChat Pay provides official account payment, APP payment, scan code payment, card payment and other payment methods. WeChat Pay combines WeChat public accounts to fully open up the O2O life consumption field and provide professional Internet + industry solutions. WeChat Pay supports WeChat red envelopes and WeChat Wealth Management, making it the first choice for mobile payment.


This merchant platform not only provides development documents related to developers, but also provides related operational strategies such as flow records and red envelopes, so here are developers, operators, finance territory! All orders that use WeChat payment, whether it is scan code payment, app payment, etc., can be found here. We provide reconciliation vouchers and

query records

for each of our orders, which will be referred to as the pay platform hereafter. !

(4) Direct correlation between mp platform, open platform and pay platform

In some of the development processes I described before, we have always used a unique identifier Openid. I don’t know if any friends who read the documents carefully will find that a unique identifier UnionID is also mentioned in our WeChat development documents. So have we used the wrong Openid all the time? The answer is of course yes, let us describe the relationship between Openid and UnionID in detail;

The unique identifier of openid is the WeChat identifier of a personal WeChat account (this can be a subscription account, service account, or enterprise account) under our WeChat public platform, but our open platform has a The function is that a developer account can be bound to up to 10 WeChat public platform accounts, multiple website applications, and multiple mobile applications. At this time, how to identify the uniqueness of users under 10 map platforms in a WeChat developer account? UnionId appeared at this time, so its significance is conceivable. If there are both mp platform accounts and web applications and mobile applications in the enterprise, we will facilitateuser managementand go User redundancy, in the overall design, I believe everyone will use UnionId as the unique identifier for WeChat login; but looking back, it is not wrong to say that openid is the unique identifier, because our previous explanations are all for For a single public platform account!

What is the relationship between the merchant platform, users and the mp platform? In simple principle, there is a one-to-one correspondence between the mp platform and the pay platform. However, there are also cases where WeChat developers have WeChat payment development rights and WeChat merchant sub-accounts exist. However, no matter what the payment between the pay platform and the user. The relationships are all unique and are generated using openid. Whether it is red envelope payment or corporate payment, the dependency relationship is openid; below I use my "simple drawing" to show you the user, mp platform, open platform, and pay platform. The relationship between:

Detailed explanation of the direct relationship between the three major platforms of mp, open and pay

[Related recommendations]

1.WeChat public account platform source code download

2.WeChat voting source code

The above is the detailed content of Detailed explanation of the direct relationship between the three major platforms of mp, open and pay. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!