首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >Paypal在沙盒帐户中不起作用

Paypal在沙盒帐户中不起作用
EN

Stack Overflow用户
提问于 2013-06-28 17:55:12
回答 1查看 298关注 0票数 0

我创建了一个PayPal帐户,还创建了一个沙箱personal accountbusiness account

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

代码语言:javascript
运行
复制
 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='); 

当我在我的网站登录到贝宝帐户时,它显示添加信用卡号码:,我从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帐户?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2013-06-28 21:37:02

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

4024007128707576

4539805151652124

4539139443918832

4716590741304528

4929181369786890

4539585085827139

4024007104385751

4485728803730862

4716879534966209

4556279316725340

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

https://stackoverflow.com/questions/17361960

复制
相关文章

相似问题

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