Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Implement Stripe #108

Merged
merged 14 commits into from
Sep 28, 2023
Merged

feat: Implement Stripe #108

merged 14 commits into from
Sep 28, 2023

Conversation

jonas-martinez
Copy link
Collaborator

@jonas-martinez jonas-martinez commented Sep 13, 2023

About this PR

Linked to lenra-io/lenra_cli#320

Added a subscription page under the application route. This makes it possible to subscribe and handle your subscription on Lenra. A subscription is linked to an application, this means that for each application that you create, you need to buy a subscription if you want advanced performances.

The subscription page shows the 2 subscriptions that are possible on Lenra, monthly and yearly. When clicking on "Subscribe" on one of these subscription boxes, you are redirected to the Stripe payment page which is linked to your Lenra email so that you can properly access your subscriptions on the Stripe customer portal.

Once you are subscribed to Lenra, a "Manage" button will appear on the same subscription page to redirect you to the Stripe Subscription management page also called the Customer Portal. You will be able to see your subscriptions across all of your applications and Upgrade/Downgrade/Cancel them as you wish.

Technical highlight/advice

How to test my changes

Checklist

  • I didn't over-scope my PR
  • My PR title matches the commit convention
  • I did not include breaking changes
  • I made my own code-review before requesting one

I included unit tests that cover my changes

  • 👍 yes
  • 🙅 no, because they aren't needed
  • 🙋 no, because I need help

I added/updated the documentation about my changes

  • 📜 README.md
  • 📕 docs/*.md
  • 📓 docs.lenra.io
  • 🙅 no documentation needed

@jonas-martinez jonas-martinez added the enhancement New feature or request label Sep 13, 2023
@jonas-martinez jonas-martinez self-assigned this Sep 13, 2023
@jonas-martinez jonas-martinez changed the title [WIP] feat: Implement Stripe feat: Implement Stripe Sep 25, 2023
Copy link
Member

@taorepoara taorepoara left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems OK. We will test it in staging

@taorepoara taorepoara merged commit 9c8f794 into beta Sep 28, 2023
3 checks passed
@taorepoara taorepoara deleted the stripe-implementation branch September 28, 2023 07:08
@shiipou
Copy link
Contributor

shiipou commented Sep 28, 2023

🎉 This PR is included in version 1.0.0-beta.45 🎉

The release is available on:

Your semantic-release bot 📦🚀

@shiipou
Copy link
Contributor

shiipou commented Oct 8, 2023

🎉 This PR is included in version 1.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants