If the cart is using Stripe, which most of our payment interfaces do, Stripe makes a variety of fake card numbers with different behaviors available in Test Mode. You can test successful transactions, failed transactions, and transactions that trigger a variety of different errors and actions.

The complete list is here.