In the previous article "PHP Realizes Personal Alipay Payment Development (1)", we briefly introduced how to realize personal Alipay payment through third-party interface platform code payment. Functional transaction flow.
# Let’s continue to combine pictures and texts to introduce to you the development of PHP personal Alipay payment through code payment.
First we register on the official website of Code Pay or log in to our account directly. (https://codepay.fateqq.com/home.htm)
Then click on Alipay payment and upload your personal Alipay payment code. Can. (There is a fee to activate WeChat payment here, while Alipay is free)
In the system settings, you can view the following information. The ID, secret key and other related information here will be used in subsequent PHP development.
Open the tutorial and download the software, as shown below.
After downloading the code payment software package, unzip it, and then find the API interface file compression package in the dodepay folder. After decompression, in the API file, we PHP language can be selected.
After selecting PHP, you need to determine the encoding format of PHP. It is recommended to use UTF-8.
Finally, we can transfer this directory to our website. After uploading and installing, we can further implement Alipay payment development.
So how to upload and install this directory, how to operate and use the code payment software, etc., we will continue to explain to you in subsequent articles. Due to the length of the article, the content of this section is introduced here.
The above is the detailed content of PHP implements personal Alipay payment development (2). For more information, please follow other related articles on the PHP Chinese website!