Step 7: Test Payments in Sandbox

Sandbox lets you simulate payments without using real funds. For creating the transactions in Sandbox you simply have to follow the steps given above and use the sandbox API keys while hitting the checkout API.

[!WARNING] Common mistake: Using incorrect API keys while making Sandbox transactions

How Sandbox Payments Work?

For the Sandbox payment experience of TransFi Checkout you will not need any dummy cards, wallet or tokens. After selecting a payment method in the widget, you'll see an option to Pass or Fail the transaction. You can select the option that you want and can test out each behavior.

Sandbox Testing Options

On success or failure:

  • Transaction status updates
  • Webhook is sent
  • Redirect happens (if configured)

What Success Looks Like in Sandbox

  • ✅ Status updated in dashboard
  • ✅ Webhook received
  • ✅ Redirect triggered

[!WARNING] Common mistakes:

  • Missing redirect URLs
  • Unsupported currency
  • Widget not configured correctly