## TL;DR

In test mode you can remove the order_id from the checkout options entirely.

## Steps

1. When Razorpay says the id provided does not exist, check your modes before anything else: orders belong to one mode only, so a live order_id is unknown to test keys and vice versa. In test mode you can remove the order_id from the checkout options entirely. Never mix a test key with a live order id, or a live key with a test order id, or Razorpay will not find the order.

## When to use

You are seeing this: When Razorpay says the id provided does not exist, check your modes before anything else: orders belong to one mode only, so a live order_id is unknown to test keys and vice versa. Use this skill when you run into "Razorpay 'the id provided does not exist': test keys cannot see live orders".

## When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

## Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

## Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
