Open KazeroG opened 8 months ago
im still a tad lost, what do you save the env key as here ? it seems different from the webhook api secret
Run into the same issue while testing the app deployed on Vercel, and that what I did wrong (probably as it's not clearly described in Readme):
whsec_xxx
that I saw when I was adding events, but that webhook secret is for Local testing, not for testing on Vercel
So what you need to do is:
Signin secret
from the Webhook page as your Production STRIPE_WEBHOOK_SECRET env variable
How to do ? Installing the Vercel template
https://github.com/vercel/nextjs-subscription-payments
The problem and logs :