Websites11 min read

Sandbox and test mode with Paystack and Flutterwave 2026

Mohamed Bah·Fondateur, Kolonell
August 27, 2026
Share:
Sandbox and test mode with Paystack and Flutterwave 2026

Sandbox and test mode with Paystack and Flutterwave 2026

Websites

The verdict in three sentences

A sandbox (test environment) lets you replay every payment scenario with no real money moving, using test keys and test cards. Never go live without validating at least the five cases success, failure, timeout, duplicate and refund. A payment bug in production means an abandoned cart and a lost customer, while a 2-hour QA pass prevents it.

Test mode with Paystack and Flutterwave

On the anglophone side, you configure test keys separate from production keys, then call the API with test cards that trigger controlled responses. The test mode lets you force a failure or timeout without waiting on chance.

ScenarioPaystack / Flutterwave test mode (2026)Wave / OM sandbox (2026)
Keystest secret/public keysdedicated test keys
Successtest card 408...test number OK
PIN / OTPPIN 0000, OTP 123456provided test code
Forced failurededicated declined carddedicated failure number
Timeoutspecific amount / cardtimeout number
Refundsimulable in testsimulable

The exact identifiers (cards, numbers) are provided in each operator's documentation and change over time; verify them before every 2026 QA pass.

QA checklist before go-live

Structured QA covers every path, including the unhappy paths often forgotten: what does the customer see on failure? Is the webhook idempotent against a duplicate?

TestExpectedGo-live blocker?
Successful paymentorder confirmed + webhook receivedyes
Failed paymentclear message, order not validatedyes
Operator timeout"pending" status, no double chargeyes
Duplicate webhookprocessed once (idempotent)yes
Partial refundcorrect refund, status updatedyes
Wrong amountclean rejectionno
Slow 3G networkno double submissionyes

Need a professional website?

Kolonell builds websites that attract clients, optimized for the Sénégalese market. Free quote in 2 minutes.

Mini case study

David launches an online store in Lagos. In the sandbox, he replays 12 scenarios in 90 minutes. He finds two bugs: on timeout, his site wrongly validated the order; and a webhook sent twice created two orders. He fixes it, adds an idempotency key on the transaction reference, and re-tests. On launch day, across 80 real orders, zero double charges and zero ghost orders. Estimated cost avoided: several carts at an average of 15,000 NGN, plus reputation.

FAQ

Does the sandbox cost money? No, no real money moves in test mode. You only spend your QA time, on the order of 2 hours for a simple store.

How do I force a failure or timeout? By using the dedicated declined test cards (Paystack/Flutterwave) or the dedicated failure numbers (Wave/OM). Test mode triggers the desired response on demand.

What is webhook idempotency? It is the guarantee that the same event received twice creates only one order. You get it by storing the transaction reference and ignoring duplicates.

Which test cards and OTPs should I use? Historically card 408..., PIN 0000, OTP 123456 in Paystack test, but check the up-to-date 2026 docs as these values can change.

Can I test a refund? Yes, refunds are simulable in the test environment. Confirm that the order status changes to "refunded" and the customer is notified.

Let's talk about your project. We ship your payments with a full sandbox QA pass and idempotent webhooks before go-live. WhatsApp +221 77 596 93 33.

Tags:#sandbox#test#wave#paystack#flutterwave#recette#paiement#2026
Share:

Mohamed Bah

Fondateur, Kolonell

Passionate about digital and entrepreneurship in Africa, Mohamed has been helping Sénégalese businesses with their digital transformation since 2020. Founder of Kolonell, he believes every SME deserves a professional and accessible online présence.