feat(backend): Allow promo coupon for credits top-up

This commit is contained in:
Zamil Majdy
2025-02-05 18:28:01 +07:00
parent 243122311c
commit 0915879049

View File

@@ -425,6 +425,7 @@ class UserCredit(UserCreditBase):
+ "/marketplace/credits?topup=success",
cancel_url=settings.config.frontend_base_url
+ "/marketplace/credits?topup=cancel",
allow_promotion_codes=True,
)
await self._add_transaction(