Why Online Payments Fail?

Saurin Parikh
D91 Labs
Published in
5 min readJul 29, 2019


This story was first published on Razorpay Blog.

When you’re initiating a payment online, there are many factors that go into making the payment possibilities and a single glitch in any of these entities can lead to an online transaction failing.

This, of course, can be quite frustrating, considering that there is an immense amount of trust that goes into putting your bank details online to initiate a transaction. Often, consumers and businesses assume that the payment gateway is at fault, and this can lead to them selecting other payment gateways to conduct their transactions.

But instead of choosing lesser-known gateways that may not offer the same level of security as some of the top ones, like Razorpay, you must understand why the transaction is failing in the first place.

The data pertaining to a single transaction goes through a series of hoops before it reaches its final destination. These hoops vary from gateway to gateway as each one has its own security measures in place.

However, if one is to look at a typical flow of data, one can consider the following as a basic example:

Initiator > payment gateway > issuing bank > acquiring bank.

Of course, this is an extremely simplified version of the data flow just designed to explain things to you, the reader.

At each step, there are certain security measures that you may or may not be privy to. One such security measure is the usage of an OTP, which comes into the picture to authenticate the payment and ensure that the person initiating the payment is indeed the person who owns the card Once that is cleared, the payment is initiated and debited from your account.

When you are applying for coupons or card related discounts, then the data flow can have a few additional steps to it that take into account the variations and occur accordingly.

Now that you know the basic data flow, let’s take a look at why these online payments tend to fail!

There are many reasons why an online payment can fail, leaving the consumer staring at an error message while being consumed with angst.


All banks have their own downtimes in place. Some of these are scheduled ones while others are unscheduled.

For instance, when you are trying to initiate an RTGS payment after banking hours, your transaction might fail because these payments only occur within specific banking hours. This is not technically a downtime, but more on the lines of a ‘banking holiday’

On the other hand, if you’re trying to initiate a UPI payment, you are less likely to see an error message as these payments occur at all times of the day and night. However, UPI also has scheduled downtime for certain periods, which is usually stated in advance by the bank.

Sometimes, banks may also have an unscheduled downtime that has occurred due to a server error. When this occurs, the reason for the transaction being declined is very simple — the payment gateway simply cannot reach your bank for authentication and is, therefore, declining the transaction.

Incorrect data

Often, the reason for a declined transaction can be a simple one — you entered incorrect data, due to which the transaction could not be authorized. This occurs most commonly when we’re in a hurry and aren’t really paying a lot of attention to the information we’re punching in.

The following are examples of the transaction being declined when you enter the wrong data:

  • Entering the wrong OTP or password can lead to an error message saying that your transaction could not be authorized. You can click the button that says ‘resend OTP’ and try again
  • It might also happen that OTP does not get delivered to your messages inbox and the transaction time expires. In this case, as well you can click on the ‘Resend OTP’ button
  • If your card does not have the required balance, or if you have entered an incorrect CVV number or expiry date, then you’ll see a message saying ‘not captured’

Security concerns

Finally, another reason why an online transaction can be declined is because your transaction has flagged a few security concerns.

The parameters for being flagged vary from bank to bank and some may have highly aggressive measures in place when it comes to security, while others may be a little laxer in comparison.

Something as simple as a bank feels that a transaction does not match your typical spending patterns can lead to the transaction being put on hold or declined altogether.

There are many reasons why the transaction can be declined. Some of these are:

  • Risk: If there is a security threat from the side of the issuing bank, this can lead to the transaction being declined. An example of a case when this happens is when a card is only marked for domestic use and is being used for an international website. In such cases, the transaction is declined
  • Payment gateway rejection: At times, the payment gateway that you are using may reject your transaction. This often happens because certain merchants may have an upper limit on transactions. If the transaction exceeds that amount, it gets declined. In such cases, the consumer has to make multiple transactions until the desired amount is reached
  • BIN rejections: The BIN stands for Bank Identification Number and is generally the first 6 digits of the card. These digits generally signify the network and the bank that the card in question comes from. Some BINs are blacklisted due to the threat of fraud. If your BIN belongs to the Blacklist, then the transaction gets rejected

There can also be a range of other issues that may occur, for instance, poor internet connection, the two-factor authentication not occurring correctly, or the connection timing out due to a slow response from the initiator’s end.

In such cases, the customer must start from the payments page again by clicking the ‘Retry’ button to initiate the payment process again. Once the process is completed, you will receive a text message saying that your payment was successful.

Your bank will also text you to inform you about the amount that has been debited, and the amount left in your balance!

Overall, try as we might, failures in online payments are not entirely avoidable. But understanding the reasons can help you make payments in a much easier manner.

Also read: Why do refunds take time?

About D91 Labs:

D91 Labs is an open-source initiative by setu.co to help Bharat build great fintech products. We organise and publish user research, insights and frameworks for fintech in India. Please follow us on medium for more exciting stories and insights on Bharat.

Psst! We are looking for collaborators and contributors to D91 Labs. If you are interested, please drop your details here and we will reach out to you

Collaborate with D91 Labs



Saurin Parikh
D91 Labs

Writer, content coach, content marketer, elderly millennial, cool dad. Published work: http://bit.ly/SaurinParikh