gpt4 book ai didi

paypal - 如何用测试卡号测试paypal

转载 作者:太空宇宙 更新时间:2023-11-03 16:12:53 33 4
gpt4 key购买 nike

我正在使用 Paypal 按钮。代码是

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="encrypted" value="test">
<input type="image" src="http://www.paypalobjects.com/en_US/i/btn/btn_buynow_LG.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>

我怎么用测试卡号测试这个。我试过了

MasterCard:5555555555554444

MasterCard:5105105105105100

Visa:4111111111111111

签证:4012888888881881

但显示错误“您输入的卡不能用于此付款。请输入不同的信用卡或借记卡号。”

最佳答案

使用 PayPal Sandbox

PayPal provides two environments that support calls to their APIoperations:

Sandbox environment

The Sandbox is a virtual testing environment whereyou utilize fictitious user accounts to make calls to the PayPaloperations without affecting any real PayPal users or their livePayPal accounts.

Production environment

The Production environment isthe live environment where the PayPal operation calls you make affectthe accounts of real PayPal users.

关于paypal - 如何用测试卡号测试paypal,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13759116/

33 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com