Razorpay - Phoca Cart

Test and live

Version: 1.0.9

Test and live

Test mode and live mode keep separate keys, so you can switch back without retyping them.

Test modeLive mode
Keysrzp_test_rzp_live_
MoneyNone. Payments are simulated.Real payments.
WebhookCreate it in the Dashboard under Test Mode, with its own secret.Create it under Live Mode, with its own secret.
AdminPayments show a yellow TEST badge on the order.No badge.
Test the store
  1. Set Mode to Test, enter the test keys, and save.
  2. Place an order and pay with Razorpay test methods. In test mode, UPI and netbanking show a Success or Failure choice. Razorpay publishes test card numbers in its own documentation.
  3. Check that the order moves to your paid status, then try a refund.
Go live
  1. Finish Razorpay activation and generate live keys.
  2. Enter the live Key ID, live Key Secret, and, after you create the live webhook, the live webhook secret.
  3. Set Mode to Live and save.
  4. Make one small real payment, check the order, then refund it.

Test-mode orders cannot be confirmed by live webhooks, and live-mode orders cannot be confirmed by test webhooks.