Order and Transaction Lifecycle

This page helps you understand the order lifecycle at Cashfree.

When you create an order at Cashfree Payments, there are various states that this order may go through before reaching your account. The various states help you understand the status of the order and the payment associated with it.

704

Order and Payment Lifecycle

Order State Details

Order StateDescription
ACTIVEOrders are marked as ACTIVE, when an order is created by the merchant through an API request to Cashfree Payments.
PAIDOrders are marked PAID when the payment is verified by Cashfree Payments and the payment is successful.
EXPIREDOrders are marked as EXPIRED when the order has exceeded order_expiry_time specified by merchant to complete the order.

To view order details from the Payment Gateway Dashboard,

  1. Go to Transactions > Orders. All the orders applicable for that filter applied will be displayed along with the order status.
Order Homepage

Order Homepage

  1. Click on any particular order to view more order details such as Order ID, Order Amt, Transaction ID, Method used for payment, Phone Number and so on.
Order Status

Order Status

Payment State Details

Customers can try to make multiple payments for orders at Cashfree. Every new payment attempt leads to a new payment attempt in our system. These payments follow their own lifecycle at Cashfree Payments.

Payment StateDescription
SUCCESSTransactions are marked as SUCCESS when we get a successful response from the bank, and we can capture the amount in our system.

Once payment is marked as SUCCESS, we mark the order as PAID.
FAILEDTransactions are marked as FAILED when we get a failed response from the bank.
NOT_ATTEMPTEDTransactions are marked as NOT_ATTEMPTED initially when a transaction is created and an acknowledgement is awaited from the bank.
PENDINGTransactions are marked as PENDING when we have successfully sent the request to the bank but waiting for a response from the bank.
FLAGGEDTransactions are marked as FLAGGED if we have identified any risks associated with the transaction.
CANCELLEDTransactions are marked as CANCELLED when there is success response post time to live. In this case, the amount will be reversed to the customer without any charge being levied to them or the merchant.
VOIDTransactions are marked as VOID when we do not want to capture the transaction amount. This is only applicable for card-based pre-authorized transactions or to UPI one-time mandates.
The amount is reversed immediately in these cases by Cashfree Payments.
USER_DROPPEDTransactions are marked as USER_DROPPED when customers drop out of the payment flow without completing the transaction. It will help you understand if customers attempted to pay or not.

Some common scenarios where the transaction will be marked as USER_DROPPED are:
- Android UPI Intent Payments - when a user clicks on the back button in the UPI app without making any payment attempt.
- Card Payments - when a user drops out of the payment flow by closing the OTP verification page.
- UPI Collect Transactions - when a user does not enter the UPI PIN and closes the transaction screen