[PR #4613] [MERGED] fix(stripe): use correct request method for billing-portal #22384

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/4613
Author: @danielepintore
Created: 9/12/2025
Status: Merged
Merged: 9/12/2025
Merged by: @himself65

Base: canaryHead: canary


📝 Commits (1)

  • 7f24f2a fix(stripe): use correct request method

📊 Changes

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

View changed files

📝 packages/stripe/src/client.ts (+1 -0)

📄 Description

closes #4611
similar to #2258


Summary by cubic

Use POST for /subscription/billing-portal in the Stripe client to match the API and prevent 405/method errors. Fixes #4611 where billing-portal requests failed due to the wrong HTTP method.


🔄 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/4613 **Author:** [@danielepintore](https://github.com/danielepintore) **Created:** 9/12/2025 **Status:** ✅ Merged **Merged:** 9/12/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `canary` --- ### 📝 Commits (1) - [`7f24f2a`](https://github.com/better-auth/better-auth/commit/7f24f2a9d2444642c7acca2e741178920c6ef561) fix(stripe): use correct request method ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/stripe/src/client.ts` (+1 -0) </details> ### 📄 Description closes #4611 similar to #2258 <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Use POST for /subscription/billing-portal in the Stripe client to match the API and prevent 405/method errors. Fixes #4611 where billing-portal requests failed due to the wrong HTTP method. <!-- 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:00:35 -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#22384