سؤال

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

هل كانت مفيدة؟

المحلول

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top