简体   繁体   English

贝宝无法在沙盒帐户中工作

[英]Paypal not working in sandbox account

I created a PayPal account and also created a sandbox personal account as well as business account . 我创建了一个PayPal帐户,还创建了一个沙箱personal account以及business account

From business account api credentials I got username:111abc.org , pwd :111 , signature:A--hhshshhhhshsss . business account api凭证中,我获得了username:111abc.orgpwd :111signature:A--hhshshhhhshsss Using these details from test accounts I Formatted my API requests ' 使用测试帐户中的这些详细信息,我格式化了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='); 

when I logged into the paypal account in my site it shows for adding the credit card no:, I copied it from business account api credentials ,But it shows an error like this 当我登录到我网站上的贝宝帐户时,它显示要添加信用卡号:,是从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.

How can I test my paypal with sandbox account? 如何使用沙盒帐户测试我的贝宝?

Try using another test credit card number, you can generate these from the sandbox. 尝试使用其他测试信用卡号,您可以从沙盒中生成它们。 Otherwise, I provided some test Visa credit card numbers below. 否则,我在下面提供了一些测试Visa信用卡号。

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM