| Pricing Plan | Free, Growth |
| Available in | All countries |
This article explains how to test credit card payments in Test Mode using the supported payment service providers (PSPs). It includes test card numbers, validation requirements, and special test scenarios.
Overview
RaiseNow supports payment testing in Test Mode for several payment providers.
Test transactions allow you to:
- Verify payment flows before going live
- Test successful transactions
- Simulate declined payments
- Validate payment integrations
- Test different card brands
|
Important: Test card numbers only work in Test Mode. They cannot be used to process real payments. |
Stripe test cards
Stripe provides a set of test card numbers for different card brands.
General requirements
Use:
- Any future expiry date (for example,
12/34) - Any three-digit CVC code
- Any four-digit CVC code for American Express
Supported test cards
| Card type | Test card number |
|---|---|
| American Express | 378282246310005 |
| Mastercard | 5555555555554444 |
| Visa | 4242424242424242 |
| Diners Club | 30569309025904 |
| Discover | 6011111111111117 |
| JCB | 3566002020360505 |
| UnionPay | 6200000000000005 |
Additional Stripe testing
Stripe also provides dedicated test cards for:
- Declined payments
- Authentication failures
- Invalid card data
- Fraud scenarios
Find more info on Stripe testing here.
To test declined credit cards, please check Stripes Documentation here.
To test credit cards with invalid data, please check Stripes Documentation here.
Datatrans test cards
Datatrans provides test cards with predefined behaviours.
Test card details
| Card type | Card number | Expiry date | CVV | Test rule |
|---|---|---|---|---|
| American Express | 375811111111115 | 06/28 | 1234 | With limit |
| American Express | 375000000000007 | 06/28 | 1234 | Without limit |
| Mastercard | 5404000000000001 | 06/28 | 123 | With limit |
| Mastercard | 5200000000000007 | 06/28 | 123 | Without limit |
| Visa | 4242424242424242 | 06/28 | 123 | With limit |
| Visa | 4900000000000003 | 06/28 | 123 | Without limit |
| Diners Club | 36168002586009 | 06/28 | 123 | With limit |
| Diners Club | 36167719110012 | 06/28 | 123 | Without limit |
| JCB | 3569990010030442 | 06/28 | 123 | With limit |
| JCB | 3569990010030400 | 06/28 | 123 | Without limit |
Datatrans test scenarios
For cards marked With limit, the transaction result depends on the payment amount.
| Amount | Result |
|---|---|
| Up to CHF 90 | Transaction succeeds |
| Above CHF 90 up to CHF 100 | Transaction rejected (simulates exceeded limit or expired card) |
| Above CHF 100 up to CHF 110 | Transaction declined (referral transaction) |
| Above CHF 110 | Transaction blocked (simulates lost or stolen card) |
These scenarios allow you to test different payment outcomes without using real cards.
Worldline test cards
Worldline (formerly Ingenico) supports payment testing using test card numbers and payment product IDs.
Checkout Ingenico Integration Guides.
Visa test card
| Card type | Test card number |
|---|---|
| Visa | 4111111111111111 |
Use any future expiry date.
Payment product IDs
| Card type | Payment product ID |
|---|---|
| Visa | 1 |
| American Express | 2 |
| Mastercard | 3 |
| JCB | 125 |
| Discover | 128 |
| Diners Club | 132 |
Additional test cards and payment methods are available in the Worldline Integration Guides.
Best practices for testing
Test successful payments
Verify that:
- The transaction succeeds
- The payment appears in RaiseNow Hub
- Any integrations receive the transaction correctly
Test failed payments
Use provider-specific test cards to verify:
- Declined payments
- Authentication failures
- Invalid card details
- Fraud prevention scenarios
Test recurring payments
If recurring donations are enabled, verify:
- Subscription creation
- Initial payment processing
- Recurring payment setup
|
Tip: Always complete testing before publishing a Touchpoint Solution or Donation Widget in Production Mode. |
Comments
0 comments
Please sign in to leave a comment.