如何使用Paypal Payments Pro沙箱模拟错误? [英] How can I simulate an error using Paypal Payments Pro sandbox?

查看:118
本文介绍了如何使用Paypal Payments Pro沙箱模拟错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用PayPal Payments Pro模拟错误?我正在尝试模拟诸如怀疑欺诈",信用卡遭拒"之类的东西.

How do I simulate an error with PayPal Payments Pro? I am trying to simulate things such as Suspected Fraud, Declined cards etc.

我们正在使用Magento Commerce企业版,希望能够从用户界面中看到错误.任何帮助将不胜感激.

We are using Magento Commerce Enterprise edition and would love to be able to see errors from the user interface. Any help would be greatly appreciated.

我们正在使用PayPal沙箱进行开发.

We are developing using the PayPal sandbox.

推荐答案

在开发人员中心网站上( https://developer .paypal.com ),登录并转到信息中心 >> 沙盒 >> 帐户.查找PayPal Payments Pro帐户的电子邮件地址.单击它,然后单击个人资料.在设置标签上,确保启用了否定测试.

On the Developer Central site (https://developer.paypal.com), log in and go to Dashboard >> Sandbox >> Accounts. Find the email address for the PayPal Payments Pro account. Click on it, then click Profile. On the Settings tab, make sure that Negative Testing is enabled.

启用负面测试后,请确保订单总额与PayPal的错误代码之一匹配(您可以查看完整列表

Once Negative Testing is enabled, make sure that the order total matches one of PayPal's error codes (you can see the full list here). For example, to simulate error code 15005 (which is your basic "card was declined" error), run a transaction for $150.05.

此处.

编辑7/7/2017::更改了说明以反映否定测试模式切换开关的当前位置,并更改了指向PayPal开发人员文档的链接.

Edit 7/7/2017: Changed instructions to reflect the current location of the negative test mode toggle, and changed the link to PayPal's dev documentation.

这篇关于如何使用Paypal Payments Pro沙箱模拟错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆