Skip to content

Commit

Permalink
[HitFix]: Add recurring interval to subscription plan transaction saving
Browse files Browse the repository at this point in the history
  • Loading branch information
DESTROYER-32 committed Jan 11, 2025
1 parent 36402c6 commit 842a85e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion XyroSub/modules/subscription.py
Original file line number Diff line number Diff line change
Expand Up @@ -1199,7 +1199,8 @@ async def handle_create_subscription_plan_selection(

await save_transaction(transaction_id, short_id, user_id, price,
payment_date.timestamp(),
next_invoice_date.timestamp(), plan_token)
next_invoice_date.timestamp(), plan_token,
recurring_interval)

await client.send_message(
GROUP_ID, f"🆕 <b>New Subscription Notification</b>: \n\n"
Expand Down

0 comments on commit 842a85e

Please sign in to comment.