When the Gateway is uncontactable due to a communications error, or problem with the internet connection, you may receive a HTTP status code in the 500 to 599 range. In this situation you may want to retry the transaction. If you do choose to retry a transaction, then we recommend you perform a limited number of attempts with an increasing delay between each attempt.
If the Gateway is unavailable during a scheduled maintenance period, you will receive a HTTP status code of 503 ‘Service Temporarily Unavailable’. In this situation you should retry the transaction after the scheduled maintenance period has expired. You will be notified of the times and durations of any such scheduled maintenance periods in advance, by email, and given a time when transactions can be reattempted.
The Gateway recommends considering the following steps if you are experiencing these errors:
The following table describes re-triable errors:
|500||Internal Server Error – An unexpected error has occurred from the Gateway that has prevented the transaction from being received.|
|501||Not implemented – The Gateway does not support the functionality needed to process the request.|
|502||Bad Gateway – A server acting as a Gateway or proxy did not receive a valid response from an upstream server.|
|503||Service Unavailable – The Gateway is temporarily unavailable.|
|504||Gateway Timeout - A server acting as a Gateway or proxy did not receive a valid response from an upstream server during the time it was prepared to wait.|