Help >

Registering the Alipay Payments API Account

NoshPos supports Alipay Payments with your own Alipay account. To set up Alipay Payments,click the "Install" button on the Payments Methods page in the admin.



You can now edit your Alipay settings. Alipay payments will not show up as a payment option on your checkout page until you have clicked the "Active" button. 


Getting the required credentials from Alipay is a difficult procedure. You need to gather the following information from Alipay and enter all of these information here:


1) 合作伙伴身份(PID) - 16 digits number

2) 账户邮箱(Account Email) - email address

3) API Key - 32 digits letters and numbers

4) App Id - 16 digits number, not same with PID

5) Private Key - very long digits letters and numbers

6) Public Key - very long letters and numbers

7) Alipay Public Key - very long letters and numbers


The following steps explain how you can get these credentials from Alipay.



  1. Go to and sign in as developer
  2. You'll need to sign in with your personal Alipay app on your phone first. Use Alipay app to scan the qr code showed on your page.
  3. You'll need to fill all the info listed here
  4. Go to developer center tab, and click 网页&移动应用
  5. Here you should see your app ID, and which Alipay products you currently have enabled. You probably want to add 电脑网站支付 and 手机网站支付 and possibly more.
  6. Go to 应用信息 to prepare to set up your encryption keys.
  7. Either use your computer’s terminal, or use Alipay’s own key generation tool available for OSX and Windows at Follow instructions on the download page how to configure the tool to generate the right kind of keys.
  8. Go back to the 应用信息 page and save your generated public key.
  9. After successful save, Alipay will give you another public key back; the 支付宝公钥 (link to display Alipay public key is visible in screenshot in the bottom part in section 接口加签方式 )
  10. In your alipay implementation, use your generated private key and the 支付宝公钥.
Last updated: 2018-02-10 12:03:34