For the complete documentation index, see llms.txt. This page is also available as Markdown.

Gateway Error Codes

The Gateway Error Code will return a list of potential values. Knowing these will help you customize the message you want to relay to your customers relating to failed payment.

Gateway Error Code Values
GW Error Message values related to each code value

GW_INVALID_BANK_ACCOUNT_DETAILS

Incorrect account information. To finalize the transaction please provide valid bank details.

GW_DIRECT_DEBIT_DECLINED

There was a problem with the transaction. Please check that the bank details you provided are correct and try again.

GW_INVALID_BOLETO_CPF

The Fiscal Number(CPF) you entered is incorrect. To continue, please enter the CPF again.

GW_MASTERCARD_DENIED

Mastercard payments cannot currently be processed. Please try again using a different payment method. We apologize for the inconvenience.

GW_PAYPAL_PAYMENT_CANCEL

You did not finalize the PayPal payment. Select a new payment method, or try again using your PayPal account.

GW_PAYPAL_RECURRING_NOT_SUPPORTED

This merchant is not enabled for recurring transactions.

GW_COUNTRY_RESTRICTIONS

The payment could not be processed due to legal restrictions related to the country associated with this card. Please retry with a different card or choose to finalize the order with a different payment method.

GW_ORDERED_NOT_YET_PAYED

The order is not yet paid.

GW_PROCESSING_ERR

The online payment cannot be finalized online at this time. Please enter another card or try to finalize the transaction in a few minutes.

GW_TOKEN_DELETED

Token deleted.

GW_WAITING_CC_INFO

Your online payment is not yet finished. Waiting for the credit card information.

GW_WAITING_PAYMENT

Your online order was successfully placed. Payment for this order has not yet been completed. Please follow the instructions below to finalize the payment.

GW_ALREADY_AUTHORIZED

Credit card authorization already done!

GW_ACCESS_DENIED

Access denied in payment gateway! The transaction cannot be finalized at this time. Please try to finalize the transaction in a few minutes.

GW_INVALID_CVV_CVC2

Error processing the credit card transaction. You have entered an invalid CVV2 or CVC2.

GW_INVALID_CC

Invalid data entered. To authorize the card transaction all the data regarding the card must be filled in correctly.

GW_CARD_RESTRICTED

Error processing the credit card transaction. The card is restricted. Please contact the issuer bank for more details, or enter another card.

GW_TRANS_REFUSED_BY_ISSUER_BANK

Error processing the credit card transaction. Transaction refused by the issuer bank. Please contact the issuer bank for more details, or enter another card.

GW_INVALID_AMOUNT

Error processing the credit card transaction. Invalid amount. Please contact the issuer bank for more details, or enter another card.

GW_FORMAT_ERROR

Error processing the credit card transaction. Format error. Please contact the issuer bank for more details, or enter another card.

GW_EXPIRED_CARD

Error processing the credit card transaction. Expired card. Please contact the issuer bank for more details, or enter another card.

GW_INSUFFICIENT_FUNDS

Error processing the credit card transaction. Insufficient funds. Please charge your card account or enter another card.

GW_TRANS_NOTPERMITTED

Error processing the credit card transaction. Transaction not permitted to cardholder. Please contact the issuer bank for more details, or enter another card.

GW_EXCEEDS_WITHDRAWAL_AMOUNT_LIMIT

Error processing the credit card transaction. The transaction will exceed the card/account withdrawal amount limit. Please contact the issuer bank for more details, or enter another card.

GW_EXCEEDS_WITHDRAWAL_FREQUENCY_LIMIT

Error processing the credit card transaction. The transaction will exceed the card/account withdrawal frequency limit. Please contact the issuer bank for more details, or enter another card.

GW_LINK_TO_ISSUER_BANK_UNAVAILABLE

Error processing the credit card transaction. The link with the issuer bank is not available. Please enter another card or try to finalize the transaction in a few minutes.

GW_INVALID_RESPONSE

Invalid response received from payment gateway.

GW_PAYPAL_ACCEPT

Order successfully placed.

GW_UKASH_INVALID_VOUCHER

The transaction was not approved by Ukash. This may have happened because the voucher number was not entered correctly or the voucher value does not correspond with the voucher you entered. Please try again.

Last updated

Was this helpful?