[PR #3773] [CLOSED] Add custom stripeCustomerId to request & fix missing trial fields #13244

Closed
opened 2026-04-13 08:50:21 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/3773
Author: @sigma-andex
Created: 8/4/2025
Status: Closed

Base: canaryHead: add-custom-stripe-subscription-id


📝 Commits (1)

📊 Changes

2 files changed (+23 additions, -1 deletions)

View changed files

📝 packages/stripe/src/index.ts (+11 -1)
📝 packages/stripe/src/schema.ts (+12 -0)

📄 Description

Solves #3772

Additionally, the trial fields were missing from the schema, so added these as well


Summary by cubic

Added support for passing a custom Stripe customer ID when upgrading subscriptions and included missing trial fields in the subscription schema.

  • New Features
    • Accepts a custom Stripe customer ID in the upgrade flow.
    • Adds trialStart, trialEnd, and updatedAt fields to the subscription schema.

🔄 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/3773 **Author:** [@sigma-andex](https://github.com/sigma-andex) **Created:** 8/4/2025 **Status:** ❌ Closed **Base:** `canary` ← **Head:** `add-custom-stripe-subscription-id` --- ### 📝 Commits (1) - [`a9ef256`](https://github.com/better-auth/better-auth/commit/a9ef256c21ec5fcc21c9b0fe62d9a6ffce2ff9fd) Solves #3772 ### 📊 Changes **2 files changed** (+23 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/stripe/src/index.ts` (+11 -1) 📝 `packages/stripe/src/schema.ts` (+12 -0) </details> ### 📄 Description Solves #3772 Additionally, the trial fields were missing from the schema, so added these as well <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Added support for passing a custom Stripe customer ID when upgrading subscriptions and included missing trial fields in the subscription schema. - **New Features** - Accepts a custom Stripe customer ID in the upgrade flow. - Adds trialStart, trialEnd, and updatedAt fields to the subscription schema. <!-- 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-13 08:50:21 -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#13244