Late Authorization of Payments
Late authorization is a situation that arises when an authorized payment, yet to be debited from the customer's account is interrupted by external factors such as network issues, technical errors at customer's or bank's end,manual intervention and many others. In such cases, funds may get debited from the customer's bank account and Razorpay does not receive a payment status from the bank.
If there is no response from the bank, the Dashboard shows this payment attempt as Created for the first 10 minutes, it is then marked as Failed due to timeout. Thereafter, Razorpay will poll the bank at various intervals for 5 days, from the day of payment creation. During this time, if our system receives the payment status from the bank as Successful, the payment is marked as
authorized like any other payment and is considered as Late authorized.
The odds of a late authorized payment:
On an average, only less than 0.5% of the total number payments get late authorized. In cases where funds get debited from the customer's bank account and are not captured by you, Razorpay automatically refunds the customer with the same amount. As a best practice, you must subscribe to the
payment.authorized webhook to be notified about the
failedstatus of the payment.
Not all payments that appear as failed will be considered as Late authorized. Late authorization is a special case of handling technical or manual interruptions that prevent Razorpay from receiving payment status from the bank and proceed with the payment flow.
Interruptions that prevent a payment gateway from receiving payment status information from the bank is a common scenario. In most cases, payments are interrupted because of any of the following reasons:
- Network issues at the customer's end
- Technical issues at the customer's bank's end
- Customers closing the pop-up window or pressing the back button after submitting the OTP
If at a later time, Razorpay is able to receive the payment status from the bank, payment is moved to
authorized state leading to late authorization of the payment. While there is only little control on these interruptions, you can prepare to handle such situations to avoid customer inconvenience. More details on handling late authorized payments is in the section Handling Late Authorization.
The difference in the payment flow for a normal payment and a late authorized payment is explained in the table below:
Late authorized payment
Customer completes the payment, bank gateway notifies Razorpay.
Customer completes the payment, bank gateway fails to notify Razorpay.
If the bank gateway response is Successful (customer's bank account is debited), Razorpay records this as an Authorized payment.
If there is no response from the bank, the payment remains in Created state for the first 10 minutes and is later marked as Failed after getting timed out. Customer's bank account may or may not have been debited.
Once authorized, you can either choose to capture or refund this payment.
Authorized payments are payments that are completed by the customer. You must capture the payment for it to be settled to your account.
This payment can be Captured or Refunded only after it is late authorized.