mirror of
https://github.com/BEDOLAGA-DEV/remnawave-bedolaga-telegram-bot.git
synced 2026-05-01 18:27:25 +00:00
Update tribute.py
This commit is contained in:
2
app/external/tribute.py
vendored
2
app/external/tribute.py
vendored
@@ -91,7 +91,7 @@ class TributeService:
|
||||
amount_kopeks = data.get('amount', 0)
|
||||
telegram_user_id = data.get('telegram_user_id')
|
||||
|
||||
if event_name == 'new_donation':
|
||||
if event_name in ('new_donation', 'recurrent_donation'):
|
||||
status = 'paid'
|
||||
elif event_name == 'cancelled_subscription':
|
||||
status = 'cancelled'
|
||||
|
||||
Reference in New Issue
Block a user