[PR #8753] [MERGED] docs: added documentation for @chargebee/better-auth. #25091

Closed
opened 2026-04-15 22:43:18 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/8753
Author: @cb-alish
Created: 3/24/2026
Status: Merged
Merged: 4/1/2026
Merged by: @ping-maxwell

Base: mainHead: canary


📝 Commits (10+)

  • 0468cf1 docs: added Chargebee plugin documentation.
  • 0a5469f Review comment
  • 05e3d7d Added documentation for passing additional fields in createCustomerOnSignUp options
  • eb2649c Added the documentation about the redirect of success url
  • b409110 docs(chargebee): document org-mode schema behaviour and fix issues
  • 447f77f docs(chargebee): add maintainer callout and Discord support card
  • 8bbdfe6 Merge pull request #1 from cb-alish/chargebee-better-auth
  • 871c0df Merge branch 'better-auth:canary' into canary
  • e6b4c9c docs: removed the redudant example for subscription creation for Chargebee Plugin Documentation
  • 79c5e3d Merge pull request #2 from cb-alish/chargebee-better-auth

📊 Changes

3 files changed (+1167 additions, -0 deletions)

View changed files

📝 docs/components/sidebar-content.tsx (+19 -0)
docs/content/docs/plugins/chargebee.mdx (+1143 -0)
📝 docs/lib/plugins.ts (+5 -0)

📄 Description

Docs(Chargebee): added documentation for the Chargebee Better Auth plugin

Description

Added full documentation for the Chargebee Better Auth plugin (@chargebee/better-auth), providing developers with complete integration guidance. Also added the Chargebee entry to the sidebar navigation with its brand SVG icon and registered it in the plugin metadata registry under the Payments category.

Features Documented

  • Customer Management
  • Subscription Management (create, update, list, cancel)
  • Plan Configuration (static, dynamic, and Chargebee API-fetched)
  • Trial Periods & Duplicate Trial Prevention
  • Webhook Handling
  • Subscription Lifecycle Hooks
  • Organization Billing
  • Billing Portal
  • Schema Reference
  • Options Reference
  • Troubleshooting Guide

Summary by cubic

Adds full docs for the Chargebee plugin @chargebee/better-auth, and surfaces it in the docs sidebar and the landing plugins registry under Payments. Clarifies the success redirect flow, org-only schema behavior, and how to pass extra customer fields.

  • New Features
    • Docs page: install/usage, plans, hosted checkout/portal, webhooks + lifecycle hooks, trials with duplicate-trial prevention, seats, org billing, portal sessions, schema/options, troubleshooting.
    • Clarifications: getCustomerCreateParams for extra fields; success redirect via GET /subscription/success; in org-only mode, chargebeeCustomerId is auto-omitted from the user table.
    • Docs UI/metadata: adds “Chargebee” sidebar entry with brand SVG icon; registers plugin in the landing page plugins registry under Payments with icon + tagline; adds maintainer callout and Discord support link.

Written for commit 5e512721a4. Summary will update on new commits.


🔄 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/8753 **Author:** [@cb-alish](https://github.com/cb-alish) **Created:** 3/24/2026 **Status:** ✅ Merged **Merged:** 4/1/2026 **Merged by:** [@ping-maxwell](https://github.com/ping-maxwell) **Base:** `main` ← **Head:** `canary` --- ### 📝 Commits (10+) - [`0468cf1`](https://github.com/better-auth/better-auth/commit/0468cf1dae91cac07565ed8bdac0f33b96b7241c) docs: added Chargebee plugin documentation. - [`0a5469f`](https://github.com/better-auth/better-auth/commit/0a5469fac26858bc58fedfe69664ead6a5d39484) Review comment - [`05e3d7d`](https://github.com/better-auth/better-auth/commit/05e3d7d38d38f7fce41b6064f2f8e1ba98e6cea3) Added documentation for passing additional fields in createCustomerOnSignUp options - [`eb2649c`](https://github.com/better-auth/better-auth/commit/eb2649c649e36e869156666bc07e06089229536e) Added the documentation about the redirect of success url - [`b409110`](https://github.com/better-auth/better-auth/commit/b4091109ba1ff7769cf1345d8a263991f6163f5d) docs(chargebee): document org-mode schema behaviour and fix issues - [`447f77f`](https://github.com/better-auth/better-auth/commit/447f77fcf967cb87826c6092b5cc11128aba1ee9) docs(chargebee): add maintainer callout and Discord support card - [`8bbdfe6`](https://github.com/better-auth/better-auth/commit/8bbdfe69854c307bc29b9734c8fac5d3e9f8054f) Merge pull request #1 from cb-alish/chargebee-better-auth - [`871c0df`](https://github.com/better-auth/better-auth/commit/871c0df1b62286be05b71402161b0801cb313737) Merge branch 'better-auth:canary' into canary - [`e6b4c9c`](https://github.com/better-auth/better-auth/commit/e6b4c9c0b93485f5c522beadb8524cbae7931906) docs: removed the redudant example for subscription creation for Chargebee Plugin Documentation - [`79c5e3d`](https://github.com/better-auth/better-auth/commit/79c5e3d685190b9b2e48b79e5769f0cb86e4ae70) Merge pull request #2 from cb-alish/chargebee-better-auth ### 📊 Changes **3 files changed** (+1167 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docs/components/sidebar-content.tsx` (+19 -0) ➕ `docs/content/docs/plugins/chargebee.mdx` (+1143 -0) 📝 `docs/lib/plugins.ts` (+5 -0) </details> ### 📄 Description ## Docs(Chargebee): added documentation for the Chargebee Better Auth plugin ### Description Added full documentation for the Chargebee Better Auth plugin ([`@chargebee/better-auth`](https://www.npmjs.com/package/@chargebee/better-auth)), providing developers with complete integration guidance. Also added the Chargebee entry to the sidebar navigation with its brand SVG icon and registered it in the plugin metadata registry under the Payments category. ### Features Documented - Customer Management - Subscription Management (create, update, list, cancel) - Plan Configuration (static, dynamic, and Chargebee API-fetched) - Trial Periods & Duplicate Trial Prevention - Webhook Handling - Subscription Lifecycle Hooks - Organization Billing - Billing Portal - Schema Reference - Options Reference - Troubleshooting Guide <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Adds full docs for the Chargebee plugin `@chargebee/better-auth`, and surfaces it in the docs sidebar and the landing plugins registry under Payments. Clarifies the success redirect flow, org-only schema behavior, and how to pass extra customer fields. - **New Features** - Docs page: install/usage, plans, hosted checkout/portal, webhooks + lifecycle hooks, trials with duplicate-trial prevention, seats, org billing, portal sessions, schema/options, troubleshooting. - Clarifications: `getCustomerCreateParams` for extra fields; success redirect via GET `/subscription/success`; in org-only mode, `chargebeeCustomerId` is auto-omitted from the user table. - Docs UI/metadata: adds “Chargebee” sidebar entry with brand SVG icon; registers plugin in the landing page plugins registry under Payments with icon + tagline; adds maintainer callout and Discord support link. <sup>Written for commit 5e512721a410fdedfa0999a5c147c3ae4fca25eb. Summary will update on new commits.</sup> <!-- End of auto-generated description by cubic. --> --- <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 22:43:18 -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#25091