Skip to main content
Available in🇮🇳 India
Follow these rules so customers are charged once, orders are fulfilled only after payment is confirmed and nothing is missed when webhooks or banks go down. Run these after Orders and before your method pages.

S2S Integration Recommendations

  • Use the S2S JSON API. If the API returns HTML, open it in the customer’s browser.
  • Pass the customer’s actual IP address, user agent and referrer so Razorpay can assess payment risk.
  • Set up Webhooks to receive payment updates on your server.
  • Use the Payments Rainy Day Kit to handle late authorisation, payment downtime and errors.
For international payments, Razorpay supports zero-decimal currencies such as JPY and three-decimal currencies such as KWD, BHD and OMR. See Currency Conversion.

Before You Test

You need these on your side, plus each method’s success and failure triggers. Every sub-page uses them.
Webhooks set up in Test Mode do not carry over to live mode. Set them up again before you go live.

Best Practices

Last modified on November 28, 2026