javascript – 与Braintree的PayPal集成

前端之家收集整理的这篇文章主要介绍了javascript – 与Braintree的PayPal集成前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我正在使用NodeJs和 Javascript来集成braintree的付款.

我已经在https://sandbox.braintreegateway.com创建了一个帐户,现在我正在使用“下载”整合将我的braintree付款与我的网站整合,我按照网站上提供的所有步骤,我得到一个paypal按钮,点击打开一个paypal弹出窗口,其中我输入我的帐户详细信息,之后它要求就各种条款达成一致.点击同意后说:

“抱歉,我们无法连接到PayPal,请在几分钟后重试,再试一次”
我不知道为什么我得到这个.

看起来像一个Braintree设置我的PayPal配置文件的问题(尽管在沙箱中并不重要).我试图用braintree按照braintree门户网站的指示跟随设置paypal,但没有成功我仍然在同一个错误消息.

使用的代码来自以下Braintree文档:

https://developers.braintreepayments.com/javascript+node/guides/drop-in#paypal

请帮我解决这个问题.

解决方法

我能够联系braintrees支持,他们配置了我的沙箱账号.

这就是他们所说的:

Hey Johhan,

Thanks for reaching out to Braintree support. I’d be happy to help.

I took a look at your SandBox account and it looks like you weren’t
set up with a processor connection to test out PayPal. This can happen
sometimes when SandBox accounts are created outside of the United
States.

We have corrected this setting and your SandBox is now set up to
process PayPal. You can verify that PayPal is a valid payment method
in your SandBox by logging into your SandBox Control Panel and
clicking on Settings > Processing. You’ll see a list of accepted
payment methods next to your Merchant Account.

Hope that helps! Let us know if there’s anything else we can do for
you.

Best,

基本上,您必须确认PayPal是您的沙箱帐户中的有效付款方式.

原文链接:https://www.f2er.com/js/155005.html

猜你在找的JavaScript相关文章