Paypal不在沙盒帐户中工作

时间:2013-06-28 09:55:12

标签: php paypal paypal-sandbox

我创建了一个PayPal帐户,还创建了一个沙箱personal account以及business account

来自business account api凭据我获得username:111abc.orgpwd :111signature:A--hhshshhhhshsss。使用测试帐户中的这些详细信息我格式化了我的API请求'

 define('API_USERNAME', '111abc.org');
 define('API_PASSWORD', '111');
 define('API_SIGNATURE', 'A--hhshshhhhshsss');
 define('API_ENDPOINT', 'https://api-3t.sandbox.paypal.com/nvp');
 define('PAYPAL_URL', 'https://www.sandbox.paypal.com/webscr&cmd=_express-checkout&token='); 

当我登录我网站上的paypal帐户时,它显示添加了信用卡号:,我从business account api credentials复制了它,但是它显示了这样的错误

This credit card has been denied by the bank that issued your credit card. For details on why your card was denied, please contact your credit card issuer's customer service department. Or, you may want to try adding a different credit card.

如何使用沙盒帐户测试我的paypal?

1 个答案:

答案 0 :(得分:1)

尝试使用其他测试信用卡号,您可以从沙箱中生成这些信用卡号。否则,我在下面提供了一些测试Visa信用卡号码。

4024007128707576
4539805151652124个
4539139443918832个
4716590741304528个
4929181369786890个
4539585085827139个
4024007104385751个
4485728803730862个
4716879534966209个
4556279316725340