如何进行 PayPal Payflow 测试交易?
我试图创建 Payflow Pro Sandbox 帐户,但我知道我们必须使用真实帐户进行测试。我通过输入虚假信用卡信息创建了它,但是当我在单击“立即购买”按钮时使用虚假信用卡信息时,它会抛出错误“信用卡信息不正确”。
任何人都可以帮助我通过 Payflow 进行信用卡测试交易吗?
I was trying to create Payflow Pro Sandbox account but i got to know that we have to use live account for testing. I created it by entering false credit card info but when i use false credit card information on click of 'Buy Now' Button it throws error "Credit card information is incorrect".
Can anybody help me in doing credit card test transactions through Payflow.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您不需要“付费”Payflow 帐户来进行测试。 转到此处并选择 Payflow Pro。不要让 99 美元的安装费吓跑您。您将能够创建帐户而无需支付测试费用。您可以提交测试付款并查看交易显示在您的交易历史记录中。这样,您就可以在尝试激活帐户以进行实时付款之前让代码正常运行。
You do not need a "paid" Payflow account for testing. Go here and select Payflow Pro. Don't let the $99 set-up fee scare you away. You will be able to create the account without paying for testing purposes. You can submit test payments and see the transactions appear in your transaction history. That way you can get your code working before taking the plunge in activating your account for real live payments.
如果您确定拥有 Live Payflow Pro 凭据,只需将 API 调用提交到 https://pilot-payflowpro .paypal.com 而不是 https://payflowpro.paypal.com
注意:正如您提到的 '立即购买按钮',我会请仔细检查您是否实际使用 Payflow Pro,因为 PayPal 的标准按钮也称为“立即购买按钮”。对于这些,您将使用沙盒:https://developer.paypal.com/ 和 https://www.sandbox.paypal.com/
If you're sure you have Live Payflow Pro credentials, you can simply submit your API calls to https://pilot-payflowpro.paypal.com instead of https://payflowpro.paypal.com
Note: As you mention 'Buy now button', I'd double-check your actually using Payflow Pro, since PayPal's standard buttons are referred to 'Buy now buttons' as well. For these, you would use the Sandbox at https://developer.paypal.com/ and https://www.sandbox.paypal.com/