Test mode
Aventopay test mode: isolated environment, test cards, webhook simulation, go-live checklist.
Test mode vs production mode
| Aspect | Test | Production |
|---|---|---|
| Availability | From sign-up | After regulatory verification |
| Real money | No — test cards only | Yes |
| API keys | sk_test_... | sk_live_... |
| Separate database | Yes — total isolation | Yes |
| Webhooks | Delivered from test-webhooks.avento-pay.com | Delivered from webhooks.avento-pay.com |
Aventopay test cards
All cards accept any 3-digit CVC and any future expiration date.
Success cases
| Card number | Network | Behavior |
|---|---|---|
4242 4242 4242 4242 | Visa | Direct success, no 3DS challenge |
5555 5555 5555 4444 | Mastercard | Direct success |
3782 8224 6310 005 | Amex | Direct success (4-digit CVC) |
3DS challenge cases
| Card number | Behavior |
|---|---|
4000 0027 6000 3184 | 3DS challenge (window to validate) |
4000 0000 0000 3220 | 3DS failure (customer misses challenge) |
Decline cases
| Card number | Reason |
|---|---|
4000 0000 0000 0002 | Generic decline |
4000 0000 0000 9995 | Insufficient funds |
4000 0000 0000 0069 | Expired card |
4000 0000 0000 0127 | Incorrect CVC |
Simulate webhooks
From the dashboard, the Test Transactions view offers a Replay webhook button to manually resend a callback to your callback_url. Useful during local development.
Go-live checklist (10 points)
- Regulatory verification of your profile approved (see onboarding)
- Production keys copied, kept out of source code (env vars)
- Callback URL public in HTTPS, accessible from internet
- HMAC signature verified on raw body, in constant time
- Idempotency in place on
provider_reference - Handling of 3 statuses:
success,pending,cancelled - Monitoring of 4xx/5xx errors returned by our API
- Refund policy visible on your site — see template
- T&Cs and privacy policy online, accepted at checkout
- Bank descriptor configured (visible on your customers' statements)
Ready?
Once these 10 points are checked, switch to your live keys and launch your first real transaction with a real card at a small amount (€5) to validate the end-to-end flow.
