首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >PayPal和沙盒支付凭证:沙盒和生产字段

PayPal和沙盒支付凭证:沙盒和生产字段
EN

Stack Overflow用户
提问于 2017-07-05 23:54:39
回答 1查看 370关注 0票数 0

我对这个API非常陌生。我想生成一个PayPal PAY按钮。我已经创建了一个沙盒贝宝作为供应商和买家。两个账户。

我不知道如何获取“沙箱”和“生产”字段。

我还没有创建应用程序,所有的时间都要求我确认并发送电子邮件,我已经确认了10次。

代码语言:javascript
复制
         paypal.Button.render({

        env: 'sandbox', // sandbox | production

        // PayPal Client IDs - replace with your own
        // Create a PayPal app: https://developer.paypal.com/developer/applications/create
        client: {
            sandbox:    'AFcWxV21C7fd0v3bYYYRCpSSRl31AULfweezb3a.97AL03QEPQS.cIvX',
            production: 'QGWT5LPKXCYKNMEW'
        },

        // Show the buyer a 'Pay Now' button in the checkout flow
        commit: true,

..。

我不知道如何在'client‘对象中获取沙箱和生产字段。

谢谢!

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2017-07-07 20:28:20

要创建已确认和验证的电子邮件沙箱帐户,请参考以下步骤:

代码语言:javascript
复制
1. Login to http://developer.paypal.com/ with your LIVE PayPal account
2. Click Dashboard
3. Click sandbox accounts
4. Click Create account button on the top right corner
5. Create a business account for seller and a personal account for buyer
6. Please add bank account and credit card and also populate some amount to your account
7. The email address need not be an real one.

有关创建沙箱的参考,请参考以下链接:

https://developer.paypal.com/docs/classic/lifecycle/sb_create-accounts/

有关PayPal快速结帐客户端集成的信息,请参阅以下链接,您可以在这些链接中找到获取客户端id详细信息的步骤:

https://developer.paypal.com/docs/integration/direct/express-checkout/integration-jsv4/client-side-REST-integration/

https://developer.paypal.com/demo/checkout/#/pattern/client

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/44930944

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档