## 申请开通Paypal
* [登录/注册](https://www.paypal.com/c2/signin)
* 打开[paypal开发者中心](https://developer.paypal.com/developer/applications)
如图，依次选择My Apps & Credentials -> Live(如果创建沙箱环境点击Sandbox) -> Create App
![](https://native-res.dcloud.net.cn/images/uniapp/payment/paypal_develop_center.png)

* 输入App Name,点击Create App
![](https://native-res.dcloud.net.cn/images/uniapp/payment/paypal_create_app.png)

* 创建完成后，点击AppName
![](https://native-res.dcloud.net.cn/images/uniapp/payment/paypal_setup_app_info.png)

* 查看Client ID 以及 Secret
![](https://native-res.dcloud.net.cn/images/uniapp/payment/paypal_get_clientid.png)

* 添加return URL并保存(必须使用小写字母)
![](https://native-res.dcloud.net.cn/images/uniapp/payment/paypal_add_returnurl.png)

* 勾选Accept payments 并点击Advanced options选择详情配置(点击保存后生效)
![](https://native-res.dcloud.net.cn/images/uniapp/payment/paypal_accept_payments.png)

* 勾选Log in with PayPal 并点击Advanced options选择详情配置(点击保存后生效)
![](https://native-res.dcloud.net.cn/images/uniapp/payment/paypal_log_in.png)

