[PR #2277] [MERGED] fix(docs): add missing annualDiscountLookupKey to plan configuration #21141

Closed
opened 2026-04-15 20:10:04 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/2277
Author: @Pukimaa
Created: 4/14/2025
Status: Merged
Merged: 5/9/2025
Merged by: @Bekacru

Base: mainHead: patch-2


📝 Commits (2)

  • 8b8a598 fix(docs): add missing annualDiscountLookupKey to plan configuration
  • 763bf26 fix(docs): fix typo for the annualDiscountLookupKey

📊 Changes

1 file changed (+3 additions, -1 deletions)

View changed files

📝 docs/content/docs/plugins/stripe.mdx (+3 -1)

📄 Description

According to https://github.com/better-auth/better-auth/blob/main/packages/stripe/src/types.ts#L30, this key exists.

I also removed the discount wording from the description (without changing the actual key), since it doesn't have to be a discount, but rather a different price created for the yearly billing period. Although since it mostly is cheaper when taking a look at the effective monthly price, it's probably best to keep the key the same.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/2277 **Author:** [@Pukimaa](https://github.com/Pukimaa) **Created:** 4/14/2025 **Status:** ✅ Merged **Merged:** 5/9/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `patch-2` --- ### 📝 Commits (2) - [`8b8a598`](https://github.com/better-auth/better-auth/commit/8b8a598637ae4de702cd11cebf9195c4fb42688c) fix(docs): add missing `annualDiscountLookupKey` to plan configuration - [`763bf26`](https://github.com/better-auth/better-auth/commit/763bf262977b15533b88a660b14dce77b56004b0) fix(docs): fix typo for the annualDiscountLookupKey ### 📊 Changes **1 file changed** (+3 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/plugins/stripe.mdx` (+3 -1) </details> ### 📄 Description According to https://github.com/better-auth/better-auth/blob/main/packages/stripe/src/types.ts#L30, this key exists. I also removed the discount wording from the description (without changing the actual key), since it doesn't have to be a discount, but rather a different price created for the yearly billing period. Although since it mostly is cheaper when taking a look at the effective monthly price, it's probably best to keep the key the same. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-15 20:10:04 -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#21141