Advantages🔗
- Single successful payment bound to an order. Prevents multiple payments.
- Quick and easy query in the database. Combines multiple payment attempts for a single order.
Orders
About Razorpay Orders and it's states.
Order is an important step of the payment life cycle at Razorpay. When a customer clicks the pay button on your website or app, an order is created with a unique identifier. This contains details such as the transaction amount and currency. The order ID secures the payment request and one cannot tamper with the order amount. Pass this order ID to the Razorpay Checkout.
You need to integrate your server with Orders API before proceeding with Razorpay Payment Gateway integration on your website or app.
Following are the various states of an order:
Status | Description |
---|---|
| When a new order is created, it is in the |
| An order moves from |
| After the payment is captured successfully, the order moves to the |
Following is a pictorial representation of how order and payment flows are closely related:
Know more about creating orders.
From the Razorpay Dashboard, you can perform the following actions: