A customer visits your website or app, selects items they want to purchase and places an order. For each order placed by your customer, create a transaction_id or checkout_id on your server for your reference. For example, #trn-369.
Pass the order_id returned by Razorpay to your Checkout. This invokes the Checkout allowing your customer to make the payment using your client-side integration.
The customer selects the appropriate payment method, clicks Pay and completes the payment. The payment details entered by the customer are sent to the Razorpay servers. The payment details submitted are secured and stored by Razorpay as tokens. The generated tokens are exchanged with your servers for further use.