[GH-ISSUE #4629] Add Lemon Squeezy Integration #10003

Closed
opened 2026-04-13 05:52:02 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @issam-seghir on GitHub (Sep 13, 2025).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/4629

Is this suited for github?

  • Yes, this is suited for github

Is your feature request related to a problem? Please describe.

This Feature Request introduces Lemon Squeezy as a supported payment provider similar to the existing Stripe plugin.
Many users cannot use Stripe due to regional restrictions. Lemon Squeezy is a growing alternative with wide adoption, and supporting it will increase accessibility of better-auth for developers worldwide

Motivation

  • Stripe Limitations: Not available in several countries, blocking adoption.
  • Lemon Squeezy Popularity: Provides subscription management, checkout, and API features that are comparable to Stripe.
  • Developer Request: Expands flexibility and avoids vendor lock-in.

Describe the solution you'd like

Implementation Details

  • Added a "lemonsqueezy" plugin under src/providers/.
  • Implemented core methods:
    • createCheckoutSession
    • validateWebhook
    • retrieveSubscription
  • Followed the same structure and API design as the Stripe plugin for consistency.
  • Environment variables:
    • LEMONSQUEEZY_API_KEY
    • LEMONSQUEEZY_STORE_ID
    • LEMONSQUEEZY_WEBHOOK_SECRET

We can use @lemonsqueezy/lemonsqueezy.js sdk

Describe alternatives you've considered

..

Additional context

No response

Originally created by @issam-seghir on GitHub (Sep 13, 2025). Original GitHub issue: https://github.com/better-auth/better-auth/issues/4629 ### Is this suited for github? - [x] Yes, this is suited for github ### Is your feature request related to a problem? Please describe. This Feature Request introduces **Lemon Squeezy** as a supported payment provider similar to the existing Stripe plugin. Many users cannot use Stripe due to regional restrictions. Lemon Squeezy is a growing alternative with wide adoption, and supporting it will increase accessibility of **better-auth** for developers worldwide ### Motivation - **Stripe Limitations**: Not available in several countries, blocking adoption. - **Lemon Squeezy Popularity**: Provides subscription management, checkout, and API features that are comparable to Stripe. - **Developer Request**: Expands flexibility and avoids vendor lock-in. ### Describe the solution you'd like ### Implementation Details - Added a "lemonsqueezy" plugin under `src/providers/`. - Implemented core methods: - `createCheckoutSession` - `validateWebhook` - `retrieveSubscription` - Followed the same structure and API design as the Stripe plugin for consistency. - Environment variables: - LEMONSQUEEZY_API_KEY - LEMONSQUEEZY_STORE_ID - LEMONSQUEEZY_WEBHOOK_SECRET > We can use `@lemonsqueezy/lemonsqueezy.js` sdk ### Describe alternatives you've considered .. ### Additional context _No response_
GiteaMirror added the enhancementlocked labels 2026-04-13 05:52:02 -05:00
Author
Owner

@Bekacru commented on GitHub (Sep 30, 2025):

We don't add payment integration other than stripe from our side. This should be a request for lemon squeezy to create a better-auth plugin as polar, dodo and autumn do.

<!-- gh-comment-id:3353215127 --> @Bekacru commented on GitHub (Sep 30, 2025): We don't add payment integration other than stripe from our side. This should be a request for lemon squeezy to create a better-auth plugin as polar, dodo and autumn do.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#10003