Paypal与Braintree集成 [英] Paypal integration with Braintree

查看:493
本文介绍了Paypal与Braintree集成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将Braintree集成到Nodejs和Javascript中.

I am trying to integrate braintree for payments in Nodejs and Javascript.

我已经在 https://sandbox.braintreegateway.com 上创建了一个帐户,现在我正在尝试将我的Braintree付款与我的网站上使用直接插入"集成,我按照网站上给出的所有步骤操作,使用了一个贝宝按钮,单击该按钮会打开一个贝宝弹出窗口,在该窗口中输入我的帐户详细信息,然后要求您同意各种术语.单击同意"后说:

I have created an account on https://sandbox.braintreegateway.com and now I am trying to integrate my braintree payment with my website using "drop in" integration, I followed all the steps given on site, with which I get a paypal button, which on click opens up a paypal pop up window in which I enter my account details, After which it asks to agree on various terms. After clicking Agree it says :

很抱歉,我们无法连接到PayPal.请在几分钟后重试.重试" 我不确定为什么要得到这个.

"Sorry we cannot connect to PayPal. Please try again in a few minutes. Try Again" I am not sure why I am getting this.

看起来像用Braintree设置我的Paypal个人资料时遇到的问题(尽管在沙箱中这并不重要).我尝试按照Braintree门户网站上的说明按照Braintree设置paypal,但没有成功,但我仍然遇到相同的错误消息.

Looks like a problem of setting up my profile of Paypal with Braintree (though in sandbox it doesn't really matters). I tried to follow set up of paypal with braintree as instructed on braintree portal, but with no success I am still at the same Error Message.

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

Code used is from following Braintree documentation:

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

请帮助我解决这个问题.

Please help me out with this.

推荐答案

我与他们的支持团队联系.这是他们的回应

I contact their support team. this was their response

"我相信您会遇到此问题,因为您的沙盒是在巴基斯坦创建的,而巴基斯坦不受PayPal支持."需要注册美国沙盒帐户.您可以在我们的网站上执行此操作,方法是使用页面左下方的下拉菜单选择美国作为您的国家/地区.

记住:注册页面的左下方>>选择国家作为美国

Remember: bottom left of signup page >> Select Country as US

我使用美国作为我的国家在Braintree上注册了另一个沙箱帐户,效果很好.

i signed up for another sandbox account on Braintree using US as my country and it worked perfectly.

这篇关于Paypal与Braintree集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆