Sandbox Testing
Time: ~10 minutes | Difficulty: Beginner The sandbox processor lets you test the full payment flow — checkout, payment processing, order creation, webhooks — without connecting a real payment gateway or charging real cards.How the Sandbox Processor Works
The sandbox processor simulates a payment gateway. When a customer submits payment on a checkout that uses a sandbox processor:- The payment is always approved (no real card validation)
- An order is created in TagadaPay
- Webhooks fire as if a real payment occurred
- Subscriptions are created and can be billed
- Testing your checkout flow end-to-end
- Verifying webhook integrations
- Testing subscription billing cycles
- QA before going live with a real processor
Step 1: Create a Sandbox Processor
- Node SDK
- cURL
Step 2: Create a Payment Flow
Create a payment flow that routes all traffic to your sandbox processor:Step 3: Assign to Your Store
Assign the sandbox payment flow to your store. You can pass it at store creation:Step 4: Complete the Setup
Follow the Merchant Quick Start to create a product and funnel. Once your checkout is live, any payment submitted will go through the sandbox processor.Testing Payments
On the Checkout Page
- Open your checkout URL in a browser
- Fill in any email and shipping details
- Enter any card number — the sandbox accepts everything:
4242 4242 4242 4242(or any 16 digits)- Any future expiry date
- Any 3-digit CVC
- Submit payment
- The order is created and you’re redirected to the thank you page
Via the Headless API
You can also create a checkout session programmatically and share the link:Verifying Results
After a sandbox payment, verify everything worked:Check Orders
Check Payments
Check Webhooks
If you’ve configured webhooks, they fire for sandbox payments exactly as they would for real ones:Testing Subscriptions
The sandbox processor fully supports subscription billing. Create a recurring product and test the billing cycle:- The initial payment is processed through the sandbox
- The subscription is created in TagadaPay
- Rebilling occurs on schedule (processed through the sandbox)
- You can manage the subscription via the API or dashboard
Sandbox vs Production
Going Live
When you’re ready for production:- Create a real processor (Stripe, NMI, Adyen, etc.) with production credentials
- Create a new payment flow using the real processor
- Update your store’s payment flow assignment
- Your checkout now processes real payments
Cleanup
When done testing, archive the sandbox processor:Next Steps
Merchant Quick Start
Complete setup from zero to live checkout
Multi-PSP Routing
Set up cascade routing across multiple processors
Headless Payments (Frontend)
Build your own checkout UI with client-side card tokenization
Webhooks
Configure webhooks to receive payment events
