Take a look at this doc on Testing Error Conditions with Negative Testing.
PayPal preapproved payment testing - how to trigger failed payment?
-
18-06-2023 - |
문제
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:
- The PayPal account has insufficient funds.
- 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
해결책
제휴하지 않습니다 StackOverflow