[GH-ISSUE #1942] [STRIPE] Webhook not working for annual discount price ids #8976

Closed
opened 2026-04-13 04:13:35 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @Lionvsx on GitHub (Mar 22, 2025).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/1942

Is this suited for github?

  • Yes, this is suited for github

To Reproduce

  1. Define a plan containing annual price id
  2. Checkout
  3. Sub hasn't updated in DB

Current vs. Expected behavior

CURRENT : webhook isn't working for annual price ids
EXPECTED : webhook working for annual price ids

What version of Better Auth are you using?

1.2.5-beta

Provide environment information

- Chrome on Macos

Which area(s) are affected? (Select all that apply)

Package

Auth config (if applicable)

import { betterAuth } from "better-auth"
export const auth = betterAuth({
  emailAndPassword: {  
    enabled: true
  },
});

Additional context

No response

Originally created by @Lionvsx on GitHub (Mar 22, 2025). Original GitHub issue: https://github.com/better-auth/better-auth/issues/1942 ### Is this suited for github? - [x] Yes, this is suited for github ### To Reproduce 1. Define a plan containing annual price id 2. Checkout 3. Sub hasn't updated in DB ### Current vs. Expected behavior CURRENT : webhook isn't working for annual price ids EXPECTED : webhook working for annual price ids ### What version of Better Auth are you using? 1.2.5-beta ### Provide environment information ```bash - Chrome on Macos ``` ### Which area(s) are affected? (Select all that apply) Package ### Auth config (if applicable) ```typescript import { betterAuth } from "better-auth" export const auth = betterAuth({ emailAndPassword: { enabled: true }, }); ``` ### Additional context _No response_
GiteaMirror added the lockedbug labels 2026-04-13 04:13:35 -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#8976