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

add lemonsqueezy payment support #16

Open
vincanger opened this issue Jan 9, 2024 · 3 comments
Open

add lemonsqueezy payment support #16

vincanger opened this issue Jan 9, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@vincanger
Copy link
Collaborator

Open SaaS currently has subscription payments via Stripe.

It would be nice to add similar support for Lemon Squeezy as mentioned by @shengxinjing

Process

  • move the action stripePayment from app/src/server/actions.ts to app/src/server/stripeUtils.ts
  • create a similar file for lemonsqueezy, e.g. app/src/server/lemonsqueezyUtils.ts and add the complimentary checkout logic for lemon squeezy. If possible, we want to make the checkout action interchangeable with the stripePayment action, so that these actions can swapped 1:1 on the client
  • create a complimentary webhook file in app/src/server/webhooks if necessary.
  • update app/src/client/app/PricingPage.tsx if necessary
@vincanger vincanger added the enhancement New feature or request label Jan 9, 2024
@vincanger
Copy link
Collaborator Author

vincanger commented Jan 10, 2024

I'm glad to be included in the development plan. I cloned the code but didn't see package.json. How did you develop and debug it?

That's expected @shengxinjing. All the instructions for starting the template are here --> https://docs.opensaas.sh/start/getting-started/

Are you still interested in adding Lemon Squeezy support @shengxinjing ?

@vincanger vincanger self-assigned this Feb 28, 2024
@E5GEN2
Copy link

E5GEN2 commented Mar 31, 2024

Subscribed

@LouisDeconinck
Copy link

LemonSqueezy would be a great addition!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants
@LouisDeconinck @vincanger @E5GEN2 and others