[PR #3908] [CLOSED] fix(stripe): fallback to using ref id when sub to update isn't found #5077

Closed
opened 2026-03-13 12:09:59 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/3908
Author: @Bekacru
Created: 8/10/2025
Status: Closed

Base: canaryHead: fix/stripe-ref


📝 Commits (1)

  • 0647a56 fix(stripe): fallback to using ref id

📊 Changes

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

View changed files

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

📄 Description

Summary by cubic

Added a fallback to look up subscriptions by referenceId if a subscriptionId is not found during Stripe updates. This prevents errors when only the referenceId is available.


🔄 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/3908 **Author:** [@Bekacru](https://github.com/Bekacru) **Created:** 8/10/2025 **Status:** ❌ Closed **Base:** `canary` ← **Head:** `fix/stripe-ref` --- ### 📝 Commits (1) - [`0647a56`](https://github.com/better-auth/better-auth/commit/0647a565d35a1d4269678f0fbd00774f15b70146) fix(stripe): fallback to using ref id ### 📊 Changes **1 file changed** (+11 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/stripe/src/index.ts` (+11 -1) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Added a fallback to look up subscriptions by referenceId if a subscriptionId is not found during Stripe updates. This prevents errors when only the referenceId is available. <!-- 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-03-13 12:09:59 -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#5077