Notify users after Tribute payment

This commit is contained in:
Machka Pasla
2025-06-23 23:42:24 +03:00
parent 53464ab25c
commit aa20ac9a18
14 changed files with 445 additions and 37 deletions
+2 -1
View File
@@ -105,7 +105,8 @@ async def process_successful_payment(session: AsyncSession, bot: Bot,
subscription_months,
payment_value,
payment_db_id,
promo_code_id_from_payment=promo_code_id)
promo_code_id_from_payment=promo_code_id,
provider="yookassa")
if not activation_details or not activation_details.get('end_date'):
logging.error(