Errors might come on screen when you are trying to process a payment via an integrated gateway.
If you encounter one and you are not able to finalize the payment, you will need to note down the error code and refer to the gateway errors documentation itself. These errors, indeed, come from the gateway.
The best thing to do is to contact your gateway Support Team and ask them to let you know what the error code means.
You can also initiate a search on the web with the error code + the gateway name, usually gateways have error codes documentation to guide clients as to the meaning of each error.
While the error code prevents you from finalizing the payment, you can come across another message like 'Card has been declined'. These sorts of messages might be linked to an error code, but it could also be that the guest's card does not have sufficient funds in it.
Another common problem is the inability to make a refund or void. Voids are time sensitive operations that can only be performed on payments performed not more than 24h before.
If you click on the button Void and it is not going through, then ensure to check the payment time and see if it goes over 24h. If it does, then your option is to refund.
FAQs - this article provides answers to the following questions:
Why am I getting an error when charging a card?
If the credit card is valid why is it declining?
Why is this credit card declining?
Why can’t I make a payment?
Can you tell me why this card is not going through?
When I click the Pay Now button nothing is happening?
Why can I not refund?
Should I contact my gateway for errors in FDA?
How do I refund a credit card?