search
HomeDaily ProgrammingPHP KnowledgePHP implements personal Alipay payment development (1)


#In the process of website development, especially shopping mall websites, it is required that the website must be able to implement online payment functions. At this time, it is necessary to implement the complete transaction process through a third-party payment platform. Common third-party payment platforms are such as Alipay, so the website needs to develop the Alipay interface to implement Alipay's online payment function.

PHP implements personal Alipay payment development (1)

However, basically all Alipay interfaces are only open to enterprises, so if you are an individual, you can only choose to use other payment methods or other Third-party interface, such as code payment.

Below we will briefly introduce to you the process of implementing personal Alipay payment development through third-party interfaces.

The so-called third-party interface has two forms.

1. Apply for the Alipay interface through a third party. When the order is completed, you need to pay a certain percentage fee to the third party interface.

2. On-hook method (code payment)

Code payment is a third-party payment platform that integrates WeChat payment, Alipay payment, and QQ wallet payment, and can ensure instant payment. .

Then to hang up, you need to download the code payment software, and after downloading, log in to the code payment account and Alipay account . Then the code payment account can monitor the status of each order in the Alipay account in real time.

The online payment workflow is as follows:

First create an order-->display payment page-->payment-->notification-->process order--> Complete

PHP implements personal Alipay payment development (1)

Code payment official website: https://codepay.fateqq.com/home.htm

For example, when the user purchases After purchasing the product and successfully paying the price to the webmaster, a transaction success message will be returned to the web page through this third-party interface.

In short, in a transaction through a third-party payment interface, after the buyer purchases the goods, he uses the account provided by the third-party platform to make the payment, and the third party notifies the seller of the arrival of the payment.

Due to the limited length of the article, this section will briefly introduce the development of personal Alipay payment with PHP. In subsequent articles, we will gradually explain in detail the specific methods of implementing personal Alipay payment development with PHP.


The above is the detailed content of PHP implements personal Alipay payment development (1). For more information, please follow other related articles on the PHP Chinese website!

Statement
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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor