Question

I'm working on a crowdfunding project using preapproved payments through PayPal. I'd like to test what happens when the preapproved payments are collected, but payment then fails for the following reasons:

  1. The PayPal account has insufficient funds.
  2. The credit card attached to the PayPal account expired.

Is there any way to trigger these situations using Sandbox? Ideally, we'd like to do testing similar to on WePay where entering specified amounts triggers these events. https://www.wepay.com/developer/reference/testing

Was it helpful?

Solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top