Update payment processing logic to disable skipping active subscriptions

- Modified the payment processing functions across multiple services to set skip_if_active_before_payment to False, ensuring that active subscriptions are not skipped during payment processing.
- This change enhances the handling of user subscriptions and improves overall payment logic consistency.
This commit is contained in:
machka-pasla
2025-08-19 12:26:56 +03:00
parent f4e2ae5fbd
commit d81ab4137d
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -127,7 +127,7 @@ async def process_successful_payment(session: AsyncSession, bot: Bot,
user_id,
subscription_months,
current_payment_db_id=payment_db_id,
skip_if_active_before_payment=True,
skip_if_active_before_payment=False,
)
applied_referee_bonus_days_from_referral: Optional[int] = None
if referral_bonus_info and referral_bonus_info.get(