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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user