FIX(wallet): change to rollback status
change to rollback status
This commit is contained in:
parent
4393e3878a
commit
132a3afcbf
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue