PayPal recurring payments negative testing

独自空忆成欢 提交于 2019-12-23 23:43:13

问题


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

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

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?

Thanks!


回答1:


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".



来源:https://stackoverflow.com/questions/11835050/paypal-recurring-payments-negative-testing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!