Status code 405 on Vercel deploy using Redwoodjs-Stripe plugin

I’m getting the following error message when I deploy to Vercel: :interrobang:
Error: Response not successful: Received status code 405

The error message does not occur when I run the dev server locally.

Here are the exact steps I took to get to this point:

Step 1: Create a new Redwood.js project:
npx create-redwood-app@6.4.0 rw640

Step 2: Install redwoodjs-stripe plugin:
npx @redwoodjs-stripe/cli setup

Step 3: Configure API endpoints for Vercel:
yarn rw setup deploy vercel

What the heck am I doing wrong? :confused:

Here is a link to the RedwoodJS-Stipe plugin.

And here is a discussion of said plugin.

I figured it out. I was using Vercel wrong! Thank you all for an awesome framework!

Hi @josh could you share what the issues was in case others encounter a similar issue with Redwood and Vercel? Thanks!


@josh Glad you got it sorted!

1 Like

I forgot to set the environment variables on Vercel!

Forgetting that dang .env file is .gitignor’ed is something that always trips me up!