How to use WeChat mini program for online payment? Summarize online payment example usage

伊谢尔伦
Release: 2017-06-11 13:26:45
Original
3775 people have browsed it

Recently I needed to use the online payment function in the WeChat mini program, so I took a look at the official documentation and found that it is very convenient to implement WeChat payment in the mini program. If you have developed WeChat payment under a service account before, Then you will find that the development process of WeChat payment in the mini program is exactly the same as that in the service account. Now I will talk about the development process and points of attention of WeChat payment in the mini program in detail. 1. The process of opening a WeChat payment and WeChat merchant account is the same as the WeChat payment process of opening a service account. There is nothing to say. 2. Obtain the user's openid home page. We need to obtain the current user's openid in the client js of the mini program. The user's code can be obtained by calling the wx.login method, and then the developer server uses the login credentials code to obtain the openid. wx.login({ Success: function(res) {

1. Summary of using the online payment function of WeChat mini program

How to use WeChat mini program for online payment? Summarize online payment example usage

##Introduction: Recently I needed to use the online payment function in the WeChat mini program, so I took a look at the official documentation and found that it is very convenient to implement WeChat payment in the mini program. If you have developed WeChat payment under a service account before , then you will find that the development process of WeChat payment in the mini program is exactly the same as that in the service account. Now I will talk about the development process and points of attention of WeChat payment in the mini program in detail. 1. The process of opening a WeChat payment and WeChat merchant account is the same as the WeChat payment process of opening a service account. There is nothing to say. 2. To obtain the user’s openid homepage, we need to be the customer of the mini program...

2. Implement the online payment function code analysis of the WeChat mini program

How to use WeChat mini program for online payment? Summarize online payment example usage

Introduction: Recently I needed to use the online payment function in the WeChat applet, so I took a look at the official documentation and found that I needed to It is very convenient to implement WeChat payment in the mini program. If you have developed WeChat payment under the service account before, then you will find that the development process of WeChat payment in the mini program is exactly the same as that in the service account. Now I will talk about the mini program in detail. The development process and points of note for WeChat payment in the program. 1. The process of opening a WeChat payment and WeChat merchant account is the same as the WeChat payment process of opening a service account. There is nothing to say. 2. We need to obtain the user’s openid homepage in the small...

3. Implementation of php online payment function (Alipay)

How to use WeChat mini program for online payment? Summarize online payment example usage

Introduction: In the process of implementing e-commerce websites, we often involve the payment function. Currently, the more popular third-party payment is Alipay and WeChat, the so-called third-party payment, are transaction support platforms provided by some third-party independent institutions that have signed contracts with major banks and have certain strength and credibility guarantees. In transactions through a third-party payment platform, after the buyer purchases the goods, he uses the account provided by the third-party platform to pay for the goods, and the third party notifies the seller of the arrival of the payment. This article takes Alipay access as a case. 1. Basic flow chart 2. Detailed step analysis: (1) The user initiates to the mall website...

4. Implementation code of online payment function developed by WeChat applet

How to use WeChat mini program for online payment? Summarize online payment example usage

Introduction: This article mainly introduces the relevant information about the implementation of the online payment function of the WeChat mini program. It requires Friends can refer to

5. paypal’s simplest PHP online payment SDK

Introduction: Provides various Code examples and code references released by official and users are welcome to exchange and learn

6. Alipay access to Thinkphp thinkphp3.1 laravel thinkphp if

Introduction: thinkphp: Alipay connects to Thinkphp: Scenario: Thinkphp framework (3.2.3), Alipay instant payment interface (http://aopsdkdownload.cn-hangzhou.alipay-pub.aliyun-inc.com /demo/alipaydirect.zip?spm=a219a.7629140.0.0.sBr1Z3&file=alipaydirect.zip), MD5 encryption method is recently built in the system, and the online payment function needs to be implemented. Without hesitation, the choice is

7. Bank of Communications online banking online payment interface ECSHOP plug-in and usage examples implemented in PHP_PHP tutorial

Introduction: Bank of Communications online banking implemented in PHP Payment interface ECSHOP plug-in and usage examples. Recently, a project required Bank of Communications online payment. ECShop itself did not have an interface for this, so after some time of dedicated research, I made a plug-in. There are good things, of course

8. How to integrate Alipay’s online payment in a single page with pure static html_html/css_WEB-ITnose

Introduction: How to integrate Alipay’s online payment in a single static page of html

##9. Which expert has used Paypal? Anxious

#Introduction: Who has used Paypal, anxious! My website has a shopping cart that I wrote myself. We plan to add a credit card online payment function to the website, and customers are not required to have a Paypal account. Paypal supports this. The result of the code in the official document should be that if the customer does not have an account, he can fill in his credit card information on the left. If he has an account, he can log in to Paypal to pay from the right. The top is the shopping cart, which contains things passed from my website, such as the name. I followed the instructions to integrate the quantity, price, etc. into

##10.

How to handle online payment in php windows

Introduction: php windows To implement online payment, online payment requires the registration of corresponding components. But the general interface descriptions are asp +win or php+linux. My current environment is php + windows +iis. The implementation method is to use php to call in wind

[Related questions and answers Recommendation]:

php - Ask a question about online payment scenarios. What should I do if Alipay callback notification is delayed?

How to develop an online payment system with PHP

javascript - UnionPay online payment interface, QQ browser cannot jump

The above is the detailed content of How to use WeChat mini program for online payment? Summarize online payment example usage. For more information, please follow other related articles on the PHP Chinese website!

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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template