[PR #6754] [MERGED] docs(dodopayments-plugin): add docs for new checkout sessions and usage plugin #23768

Closed
opened 2026-04-15 21:57:53 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/6754
Author: @that-ambuj
Created: 12/14/2025
Status: Merged
Merged: 12/15/2025
Merged by: @himself65

Base: mainHead: docs-dodopayments-add-checkout-section-docs


📝 Commits (1)

  • 216e441 docs(dodopayments): add docs for new checkout sessions and usage plugin

📊 Changes

1 file changed (+108 additions, -2 deletions)

View changed files

📝 docs/content/docs/plugins/dodopayments.mdx (+108 -2)

📄 Description

Summary by cubic

Updated Dodo Payments plugin docs to cover the new checkoutSession API and the metered usage plugin. Adds client/server examples, clarifies defaults, and deprecates the legacy checkout helper.

  • New Features
    • Client examples for checkoutSession using slugs or product_cart; note auto-filled customer data and server-configured successUrl.
    • Usage plugin: enable usage(), ingest events, list recent usage; timestamp limits; meter_id optional to fetch all meters.
    • Updated imports and plugin options to include usage in the use array.

Written for commit 216e44145c. Summary will update automatically 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/6754 **Author:** [@that-ambuj](https://github.com/that-ambuj) **Created:** 12/14/2025 **Status:** ✅ Merged **Merged:** 12/15/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `main` ← **Head:** `docs-dodopayments-add-checkout-section-docs` --- ### 📝 Commits (1) - [`216e441`](https://github.com/better-auth/better-auth/commit/216e44145c86c56a79b7cbd59d0e11620208ecab) docs(dodopayments): add docs for new checkout sessions and usage plugin ### 📊 Changes **1 file changed** (+108 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/plugins/dodopayments.mdx` (+108 -2) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Updated Dodo Payments plugin docs to cover the new checkoutSession API and the metered usage plugin. Adds client/server examples, clarifies defaults, and deprecates the legacy checkout helper. - **New Features** - Client examples for checkoutSession using slugs or product_cart; note auto-filled customer data and server-configured successUrl. - Usage plugin: enable usage(), ingest events, list recent usage; timestamp limits; meter_id optional to fetch all meters. - Updated imports and plugin options to include usage in the use array. <sup>Written for commit 216e44145c86c56a79b7cbd59d0e11620208ecab. Summary will update automatically 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 21:57:53 -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#23768