Payments
Payments in the Test environment
When interacting with Snipcart within the Test mode, no real payments can be made. The payment requests will not hit your payment gateway and no real money will be transferred.
For your testing purposes, when you get to the payment step of the checkout, you’ll be able to mock the payments. We have built a fake payment gateway that will reproduce most of the behaviors of the gateway that we are using within the Live environment.
To make an authorized payment that will end in a successful transaction, use one of these cards:
4242424242424242 |
4012888888881881 |
5555555555554444 |
If you want the transaction to be declined, use this number:
4000000000000002 |
Every other card number will be considered as Invalid.
The CVC must be an integer of 3 digits, if you enter something else, the card will be invalid. The expiration date must also be a date in the future.