Skip to content

Railway Deployment #5e865c fix: update Stripe apiVersion to v18 - #1

Open
railway-app[bot] wants to merge 1 commit into
masterfrom
railway/fix-deploy-5e865c
Open

Railway Deployment #5e865c fix: update Stripe apiVersion to v18#1
railway-app[bot] wants to merge 1 commit into
masterfrom
railway/fix-deploy-5e865c

Conversation

@railway-app

@railway-app railway-app Bot commented Mar 20, 2026

Copy link
Copy Markdown

Problem

The Next.js build fails with a TypeScript type error in features/integrations/payment/stripe.ts because the Stripe SDK v18 (declared as ^18.2.1) enforces apiVersion to be the literal type "2025-08-27.basil", but the code was passing the outdated string "2023-10-16".

Solution

Updated apiVersion in the getStripeClient function to "2025-08-27.basil", matching the type required by Stripe SDK v18. This eliminates the type error and ensures API calls use the version the SDK was designed for.

Changes

  • Modified features/integrations/payment/stripe.ts

Context

  • Deployment: #5e865c
  • Failed commit: 99e507d

Generated by Railway

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants