[PR #5346] [MERGED] feat(stripe): v19.1.0 #31547

Closed
opened 2026-04-17 22:26:31 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/5346
Author: @okisdev
Created: 10/16/2025
Status: Merged
Merged: 10/17/2025
Merged by: @Bekacru

Base: canaryHead: feat(stripe)/v2


📝 Commits (4)

📊 Changes

6 files changed (+437 additions, -20 deletions)

View changed files

📝 demo/nextjs/package.json (+1 -1)
📝 docs/content/docs/plugins/stripe.mdx (+6 -2)
📝 packages/stripe/package.json (+2 -2)
📝 packages/stripe/src/index.ts (+12 -5)
📝 packages/stripe/src/stripe.test.ts (+407 -1)
📝 pnpm-lock.yaml (+9 -9)

📄 Description

This PR upgrade Stripe to v19.1.0 and adding more stripe related test cases.


Summary by cubic

Upgraded the Stripe SDK to v19.1.0 and switched webhook verification to constructEventAsync to align with Stripe v19.

  • Dependencies

    • Bumped stripe to ^19.1.0 in demo and plugin; updated peerDependencies to ^19.
    • Updated docs to API version 2025-09-30.clover and noted async webhook verification.
  • Refactors

    • Migrated webhook handling to constructEventAsync.
    • Added tests for invalid signatures, missing headers, null events, async handler errors, and parameter validation.

🔄 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/5346 **Author:** [@okisdev](https://github.com/okisdev) **Created:** 10/16/2025 **Status:** ✅ Merged **Merged:** 10/17/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `canary` ← **Head:** `feat(stripe)/v2` --- ### 📝 Commits (4) - [`0a9920d`](https://github.com/better-auth/better-auth/commit/0a9920deb969f2038c4e1c27e85d1546388553c8) feat(stripe): v2 - [`9053055`](https://github.com/better-auth/better-auth/commit/905305545c4fc730bf891fc097be32897a1555fe) feat(stripe): v19.1.0 - [`a891b30`](https://github.com/better-auth/better-auth/commit/a891b30fae1636c18d5335ca3ff41568b1efb5b9) feat(stripe): v19.1.0 - [`56e7cbe`](https://github.com/better-auth/better-auth/commit/56e7cbe2c79c739a7785ff431a2b58501ddb5e43) feat(stripe): v19.1.0 ### 📊 Changes **6 files changed** (+437 additions, -20 deletions) <details> <summary>View changed files</summary> 📝 `demo/nextjs/package.json` (+1 -1) 📝 `docs/content/docs/plugins/stripe.mdx` (+6 -2) 📝 `packages/stripe/package.json` (+2 -2) 📝 `packages/stripe/src/index.ts` (+12 -5) 📝 `packages/stripe/src/stripe.test.ts` (+407 -1) 📝 `pnpm-lock.yaml` (+9 -9) </details> ### 📄 Description This PR upgrade Stripe to [v19.1.0](https://github.com/stripe/stripe-node/releases/tag/v19.1.0) and adding more stripe related test cases. <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Upgraded the Stripe SDK to v19.1.0 and switched webhook verification to constructEventAsync to align with Stripe v19. - **Dependencies** - Bumped stripe to ^19.1.0 in demo and plugin; updated peerDependencies to ^19. - Updated docs to API version 2025-09-30.clover and noted async webhook verification. - **Refactors** - Migrated webhook handling to constructEventAsync. - Added tests for invalid signatures, missing headers, null events, async handler errors, and parameter validation. <!-- 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-17 22:26:31 -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#31547