Skip to content

Upgrade Stripe API & Library with Improved Subscription Handling#168

Merged
Ashad001 merged 1 commit intoFireBird-Technologies:mainfrom
Ashad001:refactor/paid-plan
Jun 30, 2025
Merged

Upgrade Stripe API & Library with Improved Subscription Handling#168
Ashad001 merged 1 commit intoFireBird-Technologies:mainfrom
Ashad001:refactor/paid-plan

Conversation

@Ashad001
Copy link
Contributor

This PR upgrades the Stripe API version from 2025-02-24.acacia to 2025-05-28.basil across multiple routes, enhances subscription handling logic, and updates Stripe-related dependencies.

Key Changes:

  • API Version Update: Applied new Stripe version across all relevant routes (checkout-sessions, create-checkout-session, webhooks, etc.).

  • Subscription Improvements:

    • Improved willCancelAt logic using current_period_end.
    • Switched from coupon to discounts in trial/start.
    • Refactored subscription to subscription_id in webhook invoice handling.
  • Dependency Upgrades:

    • stripe bumped to 18.2.1
    • Added @types/stripe@8.0.417

@Ashad001 Ashad001 merged commit 944c1f5 into FireBird-Technologies:main Jun 30, 2025
1 check passed
ArslanS1997 pushed a commit that referenced this pull request Mar 17, 2026
Upgrade Stripe API & Library with Improved Subscription Handling
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant