Available in🇮🇳 India
S2S integration is an API-based white label integration provided by Razorpay wherein you can capture payment details on your page and pass on the same to Razorpay via a backend API call.
Given below are some of the best practices to be followed for a smoother integration and payment experience:
- We recommended using S2S JSON API for S2S integration.
- For redirect flow, you must open the HTML provided as part of the API response, as is from the customer’s browser.
- You should pass the actual
user_agent,customer IPandreferrerto avoid any failures due to risk. - You should integrate webhooks to get a callback via a server to server call.
- Integrate the Payments Rainy Day kit to tackle payment exceptions such as late authorized payments, payment downtimes and errors.