diff --git a/apps/wallet/models.py b/apps/wallet/models.py index fe20004..a94718f 100755 --- a/apps/wallet/models.py +++ b/apps/wallet/models.py @@ -317,7 +317,7 @@ class Transaction(BaseModel): self.rollback_withdraw_to_payer_balance() self.change_state( [StateChoices.PENDING, StateChoices.DELAYED, StateChoices.INCOMPLETE], - StateChoices.SUCCESS, + StateChoices.ROLLED_BACK, error_message=_('TRANSACTION_STATE_NOT_SUITABLE_FOR_ROLLBACK') ) return self