Saltar al contenido principal

Resumen

La API de Dodo Payments proporciona razones de fallo de transacción detalladas para ayudarle a entender por qué un intento de pago no fue exitoso. Estas razones de fallo están estandarizadas a través de diferentes métodos de pago y proveedores, lo que facilita la implementación de un manejo de errores consistente en su aplicación. Cada respuesta de fallo de transacción incluye:
  • Un código de razón de fallo específico
  • Un mensaje de error legible por humanos
  • Contexto adicional sobre el fallo cuando está disponible
  • Si el error puede ser corregido por el usuario o requiere intervención del sistema
Entender estas razones de fallo es crucial para:
  • Proporcionar retroalimentación clara a sus clientes
  • Implementar una lógica de reintento apropiada
  • Manejar diferentes escenarios de fallo de manera elegante
  • Mantener un sistema de procesamiento de pagos confiable

Razones de Fallo de Transacción

La siguiente tabla enumera todas las posibles razones de fallo de transacción, sus significados y si son errores corregibles por el usuario.
Failure CodeUser ErrorDescription
AUTHENTICATION_FAILUREYesThe authentication process failed during the transaction
AUTHENTICATION_REQUIREDYesAdditional authentication is needed to complete the transaction
AUTHENTICATION_TIMEOUTYesThe authentication process timed out
CARD_DECLINEDNoThe card was declined by the issuing bank
CARD_NOT_ACTIVATEDYesThe card has not been activated by the cardholder
CARD_VELOCITY_EXCEEDEDYesToo many transactions attempted in a short period
CUSTOMER_CANCELLEDYesThe customer cancelled the transaction
DO_NOT_HONORNoThe issuing bank declined the transaction
EXPIRED_CARDYesThe card has expired
FRAUDULENTYesThe transaction was flagged as potentially fraudulent
GENERIC_DECLINENoThe transaction was declined for an unspecified reason
INCORRECT_CVCYesThe provided CVC code was incorrect
INCORRECT_NUMBERYesThe card number was entered incorrectly
INSUFFICIENT_FUNDSYesThe account has insufficient funds to complete the transaction
INVALID_ACCOUNTYesThe account details provided are invalid
INVALID_AMOUNTYesThe transaction amount is invalid
INVALID_CARD_NUMBERYesThe card number format is invalid
INVALID_CARD_OWNERYesThe card owner information is invalid
INVALID_CVCYesThe CVC format is invalid
INVALID_EXPIRY_YEARYesThe card expiry year is invalid
INVALID_PINYesThe provided PIN is incorrect
INVALID_REQUESTYesThe transaction request contains invalid data
INVALID_UPI_IDYesThe UPI ID provided is invalid
LIMIT_EXCEEDEDYesThe transaction exceeds the card or account limit
LIVE_MODE_TEST_CARDYesA test card was used in live mode
LOST_CARDYesThe card has been reported as lost
MANDATE_INVALIDYesThe payment mandate is invalid
MANDATE_REQUIREDYesA mandate is required for this transaction
MANDATE_REQUIRED_SYSTEMNoSystem requires a mandate for this transaction type
NETWORK_ERRORNoA network error occurred during the transaction
NETWORK_TIMEOUTNoThe network request timed out
ORDER_CREATION_FAILEDNoFailed to create the order for the transaction
PAYMENT_METHOD_PROVIDER_DECLINEDYesThe payment method provider declined the transaction
PAYMENT_METHOD_UNSUPPORTEDYesThe payment method is not supported for this transaction
PICKUP_CARDYesThe card has been reported as stolen and should be picked up
PROCESSING_ERRORNoAn error occurred while processing the transaction
PROVIDER_UNSUPPORTEDNoThe payment provider does not support this transaction type
REENTER_TRANSACTIONYesThe transaction needs to be re-entered
REVOCATION_OF_AUTHORIZATIONYesThe authorization for the transaction was revoked
STOLEN_CARDYesThe card has been reported as stolen
TRANSACTION_NOT_ALLOWEDYesThe transaction is not allowed for this card or account
TRANSACTION_NOT_APPROVEDYesThe transaction was not approved
TRY_AGAIN_LATERNoThe transaction should be retried later
UNKNOWN_ERRORNoAn unknown error occurred
User Error indica si el rechazo del pago puede resolverse por el cliente. Cuando true, el cliente puede tomar medidas para solucionar el problema (por ejemplo, ingresar los datos de la tarjeta correctamente). Cuando false, el rechazo se debe a problemas a nivel de sistema o restricciones bancarias que no pueden ser resueltas por el cliente.

Soporte

Para obtener ayuda adicional con fallos de transacción o problemas de integración, comuníquese con nuestro equipo de soporte en support@dodopayments.com.