PayPal 账户、测试和沙盒 [英] PayPal accounts, testing and sandbox

查看:34
本文介绍了PayPal 账户、测试和沙盒的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个英国 PayPal 企业帐户.我目前正在开发一个网站支付系统,以便使用 Express Checkout 向该帐户付款.

I have a UK PayPal business account. I'm currently developing a website payment system to make payments to this account using Express Checkout.

到目前为止,我的 PHP 代码正在运行,我能够连接到沙箱并设置和快速结帐.下一阶段是将用户重定向到 PayPal 沙箱以进行测试付款.

My PHP code thus far is working and I'm able to connect to the sandbox and set and express checkout. Next stage is to redirect the user to the PayPal sandbox to make a test payment.

此时我被卡住了.我无法创建个人测试"帐户以用作 PayPal 沙箱上的客户".

Its at this point that I'm stuck. I can't create a 'personal test' account for using as the 'client' on the PayPal sandbox.

我正在尝试这样:

  1. 访问 developer.paypal.com
  2. 登录
  3. 选择应用程序"
  4. 选择沙盒帐户"
  5. 选择创建帐户"
  6. 选择国家为英国",账户类型为个人",有效的电子邮件地址(不与任何其他贝宝账户关联),密码,名字,姓氏,银行验证 = 是,卡类型 = 签证.
  7. 点击创建帐户.

然后我收到以下消息:

很抱歉,出了点问题.请删除此帐户,然后重试.

We're sorry but something went wrong.Please delete this account and try again.

当它说删除此帐户"时,我不知道它的实际含义,因为它没有使用我刚刚输入的详细信息创建一个新的个人帐户(至少不是我在任何地方都能看到的)).我什至尝试创建一个新的企业帐户来创建此个人帐户,但没有任何区别.

When it says 'delete this account', I don't know what it actually means, as it hasn't created a new personal account with the details I've just entered (at least not one that I can see anywhere). I've even tried creating a new business account to create this personal account from, and that has made no difference.

还有其他人遇到问题吗?我有点卡住了.我是否可以使用我的真实"个人 PayPal 帐户在沙盒上进行测试,而不必担心我设置的测试业务帐户会损失任何真钱?

Is anyone else experiencing problems? I'm a little stuck. Could I use my 'real' personal PayPal account for testing on the sandbox without risk of losing any real money to the test business account I have setup?

推荐答案

好的,回答我自己的问题,因为我已经深入了解了.

OK, to answer my own question as I've got to the bottom of this.

首先感谢提供答案和评论的人.

First of all thanks to those who've provided answers and comments.

所以,在我的特殊情况下,问题是我的密码太简单了.在表单上,​​密码字段旁边的提示是(8-20 个字符)".因此,由于它是一个测试帐户并且我试图保持简单,因此我使用的密码是测试密码".根据要求,它在 8 到 20 个字符之间,所以应该很好,谢谢!或不视情况而定.我突然有一种预感,这可能是问题所在,并尝试了替代方法.再一次,一个字典单词,但后面有几个数字,又一次,它起作用了.然后我再次尝试使用完全相同的详细信息,但电子邮件地址略有不同(我使用的是 testN@mycompany...我再次增加 N 和一个简单的密码,但失败了!

So, in my particular case the problem turned out to be that my password was too simple. On the form, the hint next to the password field is '(8-20 characters)'. So, as it was a test account and I was trying to keep things simple, the password I used was 'test password'. As requested, its between 8 and 20 characters, so that should do jus fine thank you! Or not as the case may be. I suddenly got a hunch that this could be the issue and tried a alternative. Again, a dictionary word, but with a few digits after it, and again, it worked. I then tried again with exactly the same details, but a slightly different email address (I'm using testN@mycompany... where I increment N and a simple password again, it failed!

整个实现,特别是此表单的错误报告需要彻底检查.

The entire implementation and particularly error reporting on this form needs a serious overhaul.

所以感谢 PayPal,你在这个客户项目上浪费了我很多时间,仅仅因为这个表单的实现是绝对糟糕的.这是另一个示例:在 PayPal 余额字段中输入一个非整数值,例如 200.00 并提交表单...您将被带到上一页,在那里您会看到与非整数值相关的错误.此时表单已完全重置,您必须重新开始整个过程​​,而不是只编辑一个字段.

So thanks PayPal, you wasted a good bit of my time on this client project, simply because the implementation of this form is absolutely terrible. Here is another example: Put a none integer value in the PayPal balance field, for example 200.00 and submit the form... You'll get blown out to the previous page where you are shown the error relating to the none integer value. At which point the form is completely reset and you have to start the whole process over again, instead of editing just one field.

再次感谢所有在本论坛上回复的人,印象非常深刻.然而,整个 PayPal 沙盒环境并没有给我留下深刻的印象,似乎有点粗糙,我发现了很多错误......

Again, thank to everyone who has responded on this forum, very impressed. Not so impressed with the entire PayPal sandbox environment however, seems more than a little unpolished, I've found so many bugs...

干杯

:wq

这篇关于PayPal 账户、测试和沙盒的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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