> ## Documentation Index
> Fetch the complete documentation index at: https://razorpay.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Integrate the Right Way

> Use S2S JSON V2 correctly: create an order first, forward the customer's real values and act on the webhook.

Available in
🇮🇳 India

Use S2S JSON V2. Create an order first. Send the customer's real `ip`, `user_agent` and `referer` — not placeholders. Act on the next action Razorpay returns, verify the signature, fulfil on the webhook and fetch if the webhook does not arrive.

**Test it:** check every create-payment call forwards the customer's real values.

### Related Information

* [Best Practices](https://razorpay.com/docs/payments/payment-gateway/s2s-integration/test-s2s/best-practices)
* [Order–Payment Relationship](https://razorpay.com/docs/payments/payment-gateway/s2s-integration/test-s2s/best-practices/order-payment-relationship.md)
* [Orders](https://razorpay.com/docs/payments/payment-gateway/s2s-integration/test-s2s/orders.md)
