一、获取Merchant Id
1.登陆PayPal
2.点击右上角齿轮图标,进入相关页面,或直接通过该链接进入:https://www.paypal.com/myaccount/settings/
3.在页面内找到 Merchant ID,对应收款设置内 Live Merchant Id
二、获取其它数据
1.访问:https://developer.paypal.com,并使用您的PayPal账号登陆
2.点击 Get API Credentials 进入相关页面,点击左侧 My Apps & Credentials ,或直接访问该链接:https://developer.paypal.com/developer/applications
3.在 My apps & credentials 下选择 Live 并点击 Creat App (此步骤需要PayPal账号通过邮箱验证)
4.在弹出窗口内填入App名称,并继续点击 Creat App
5.记录下PayPal提供的如下内容:
a. PayPal account,对应收款设置内 Live Email address
b. Client ID ,对应收款设置内 Live Client Id
c. Secret(点击Show可显示),对应收款设置内 Live Secret Key