[PR #5077] [MERGED] docs: update stripe.mdx #22658

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/5077
Author: @rinarakaki
Created: 10/4/2025
Status: Merged
Merged: 11/5/2025
Merged by: @himself65

Base: canaryHead: patch-3


📝 Commits (2)

📊 Changes

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

View changed files

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

📄 Description


Summary by cubic

Update stripe.mdx to match the current plugin API: replace request with ctx: GenericEndpointContext across hooks, remove customer from onCustomerCreate, and update signatures for getCustomerCreateParams, getCheckoutSessionParams, authorizeReference, onTrialEnd, and onTrialExpired. Also refresh examples (e.g., console.log now uses stripeCustomer.id) to reflect the new parameters.

Written for commit cec1bc5987. 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/5077 **Author:** [@rinarakaki](https://github.com/rinarakaki) **Created:** 10/4/2025 **Status:** ✅ Merged **Merged:** 11/5/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `patch-3` --- ### 📝 Commits (2) - [`11e718b`](https://github.com/better-auth/better-auth/commit/11e718b8e4df57f2a2b9c4732bb1810f6b397691) Update stripe.mdx - [`cec1bc5`](https://github.com/better-auth/better-auth/commit/cec1bc598719dda0f651c5be6612eb5fc5859268) Update stripe.mdx ### 📊 Changes **1 file changed** (+15 additions, -15 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/plugins/stripe.mdx` (+15 -15) </details> ### 📄 Description - https://github.com/better-auth/better-auth/commit/13872bea56bc46419fe3f256edf8a29668990b53#diff-34efa9c605b726e157bb1f56b408f03c2a1abceb7b49c3f60d86c60d8fd0e55dR202 - https://github.com/better-auth/better-auth/commit/8fa4c9ce7ee29fe93eb50b59b76845d0804dab19#diff-34efa9c605b726e157bb1f56b408f03c2a1abceb7b49c3f60d86c60d8fd0e55dL73 <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Update stripe.mdx to match the current plugin API: replace request with ctx: GenericEndpointContext across hooks, remove customer from onCustomerCreate, and update signatures for getCustomerCreateParams, getCheckoutSessionParams, authorizeReference, onTrialEnd, and onTrialExpired. Also refresh examples (e.g., console.log now uses stripeCustomer.id) to reflect the new parameters. <sup>Written for commit cec1bc598719dda0f651c5be6612eb5fc5859268. 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:12:01 -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#22658