贝宝定期付款否定测试 [英] PayPal recurring payments negative testing

查看:102
本文介绍了贝宝定期付款否定测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用PayPal提供的定期付款API.

I am trying to use the Recurring payment API offered by PayPal.

当我使用快捷的chekout令牌或信用卡明细创建定期付款时,付款始终会成功.

When I create a recurring payment either with express chekout token or with credit card details the payment is always successful.

此处提供有关如何测试错误条件的说明 http://www. paypalobjects.com/en_US/ebook/PP_Sandbox_UserGuide/testing_error_conditions.html 也就是说,您可以指定例如cvv2 = 116,它将对doDirectPayment产生错误,但似乎不适用于定期付款.

There are instructions here on how to test error conditions http://www.paypalobjects.com/en_US/ebook/PP_Sandbox_UserGuide/testing_error_conditions.html i.e. you can specify for example cvv2=116 and it will produce an error for doDirectPayment, but it does not seem to work with recurring payments.

有没有一种方法可以模拟沙箱中的定期重复付款失败?

Is there a way to simulate failed recurring payment in sandbox?

谢谢!

推荐答案

对于那些遵循我的足迹的人:有Payflow Pro经常性帐单指南

For those who follow in my footsteps: there is Payflow Pro Recurring Billing guide here, you can find "Testing Recurring Billing" section there. "One can use the amount of the transaction to generate a particular result value".

这篇关于贝宝定期付款否定测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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