diff --git a/addons/payment_mercado_pago/const.py b/addons/payment_mercado_pago/const.py index c1db069839c6e..e5f71046c2b0d 100644 --- a/addons/payment_mercado_pago/const.py +++ b/addons/payment_mercado_pago/const.py @@ -30,7 +30,7 @@ # Mapping of transaction states to Mercado Pago payment statuses. # See https://www.mercadopago.com.mx/developers/en/reference/payments/_payments_id/get. TRANSACTION_STATUS_MAPPING = { - 'pending': ('pending', 'in_process', 'in_mediation'), + 'pending': ('pending', 'in_process', 'in_mediation', 'authorized'), 'done': ('approved', 'refunded'), - 'canceled': ('cancelled', 'null'), + 'canceled': ('cancelled', 'null', 'rejected'), }