Customizable proration behavior when updating stripe subscription with per-seat billing #2997

Closed
opened 2026-03-13 10:33:28 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @itamarzwi on GitHub (Mar 5, 2026).

Originally assigned to: @bytaesu on GitHub.

Is this suited for github?

  • Yes, this is suited for github

We manage per-seat billing for enterprise customers using the stripe plugin and the newly introduced seatPriceId option.

At the moment, the proration behavior when updating a plan is hard-coded to create_prorations. We would like to use always_invoice instead.

Describe the solution you'd like

When setting seatPriceId on a plan, allow to set a prorationBehavior field that will be used in the call to the stripe API.

Describe alternatives you've considered

For the time being, I've applied a patch to the library using pnpm patch to enable this behavior

Additional context

I would be happy to create a PR for this if it would be accepted

Originally created by @itamarzwi on GitHub (Mar 5, 2026). Originally assigned to: @bytaesu on GitHub. ### Is this suited for github? - [x] Yes, this is suited for github ### Is your feature request related to a problem? Please describe. We manage per-seat billing for enterprise customers using the stripe plugin and the newly introduced seatPriceId option. At the moment, the proration behavior when updating a plan is hard-coded to `create_prorations`. We would like to use `always_invoice` instead. ### Describe the solution you'd like When setting `seatPriceId` on a plan, allow to set a `prorationBehavior` field that will be used in the call to the stripe API. ### Describe alternatives you've considered For the time being, I've applied a patch to the library using `pnpm patch` to enable this behavior ### Additional context I would be happy to create a PR for this if it would be accepted
GiteaMirror added the enhancement label 2026-03-13 10:33:28 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#2997