How to Test Payments in Sandbox Mode

Sandbox Mode lets you place test orders without moving real money. Always test before you accept your first live payment.

What you need

A separate Merchant ID, Access Code and Working Key for testing, issued by CCAvenue. Your live credentials will not work in the sandbox.

Turn on Sandbox Mode

  1. Open WooCommerce, then Settings, then Payments, then CCAvenue Gateway.
  2. Set Payment Mode to Sandbox Mode.
  3. Enter your test Merchant ID, Access Code and Working Key.
  4. Save your changes.
Payment Mode setting of the CCAvenue plugin where you choose Live Mode or Sandbox Mode
Open the Payment Mode list and choose Sandbox Mode.

Place a test order

  1. Add a product to the cart and go to the checkout.
  2. Choose the CCAvenue payment method and complete the payment with the test details CCAvenue provides.
  3. Check that the WooCommerce order status changes after the payment.
CCAvenue shown as a payment method on the WooCommerce checkout page
CCAvenue appears next to your other payment methods at checkout.

India and UAE differences

  • For India, the sandbox uses CCAvenue’s test gateway address.
  • For UAE / Middle East, sandbox and live use the same gateway address. You switch between them by using your test or live credentials.

Go live

When testing is finished, set Payment Mode back to Live Mode and enter your live credentials. Many problems after launch come from a forgotten sandbox setting.

Need more help?

Cannot find what you are looking for?

Tell us about your question or your project. If we can help, we get in touch.

Get Started