首页
开发手册
应用中心
工具
用户中心
FoundPHPAlipay platform settings
English
中文简体
English
上一篇
下一篇
#FoundPHPAlipay payment use ### PHP Alipay payment introduction Alipay payment can be applied to computer websites and mobile phones. If you need to make a computer website store, using Alipay is a good choice. ------------ #### 1.Open mobile website payment and computer website payment permissions. ##### Log in to Alipay merchant platform. 网址:https://b.alipay.com/ ![](data/files/edit/20/08/12/200812_12132967.png) ##### Enter the merchant center homepage ![](data/files/edit/20/08/12/200812_12148456.png) ##### Enter the product center ![](data/files/edit/20/08/12/200812_12156743.png) #####Find "Product Service" from the center of the page, select mobile website payment and computer website payment to activate. ![](data/files/edit/20/08/12/200812_12162678.png) ![](data/files/edit/20/08/12/200812_12168094.png) ##### Choose mobile website payment or computer website payment, click to activate, fill in the corresponding information, and wait for the review to pass. ![](data/files/edit/20/08/12/200812_12175147.png) #### 2.Get development configuration parameters Login website:https://open.alipay.com ![](data/files/edit/20/08/12/200812_12244204.png) ##### build a website application in the console ![](data/files/edit/20/08/12/200812_12242667.png) ##### fill in website application information ![](data/files/edit/20/08/12/200812_14043471.png) ##### after the addition is complete, the application status is under development ![](data/files/edit/20/08/12/200812_14055758.png) ##### Configure the current application and select the application capabilities, namely mobile website payment and computer website payment. Click to add ability ![](data/files/edit/20/08/12/200812_14051285.png) Choose to add both mobile website payment and computer website payment to the application, and click confirm. ![](data/files/edit/20/08/12/200812_14065474.png) #####Configure application key There are related development settings at the bottom of the application information, where the developer configures the public key, IP whitelist, and payment asynchronous callback address. ![](data/files/edit/20/08/12/200812_14084912.png) ###### Public key configuration Download the automatic generator ![](data/files/edit/20/08/12/200812_14099414.png) Open the generator, generally the default parameters are fine, click Generate Secret Key to generate public and private keys, remember to save them. ![](data/files/edit/20/08/12/200812_14091467.png) Copy the generated public key into the configuration box, click save settings. ![](data/files/edit/20/08/12/200812_14102853.png) Configuration is complete, close the pop-up window ![](data/files/edit/20/08/12/200812_14115165.png) ##### Set callback address ![](data/files/edit/20/08/12/200812_14112279.png) ##### After all settings are completed, submit the application for review. ![](data/files/edit/20/08/12/200812_14124698.png) #### Get APPID and key Enter the developer console, the development service menu in the middle of the interface, select key management. ![](data/files/edit/20/08/12/200812_14162738.png) ![](data/files/edit/20/08/12/200812_14175301.png) key is the public key password string saved when generating the public key. ![](data/files/edit/20/08/12/200812_14139359.png)