Giter VIP home page Giter VIP logo

Comments (3)

tonoli avatar tonoli commented on June 11, 2024

Check this:
https://github.com/vercel/nextjs-subscription-payments/pull/293/files

from nextjs-subscription-payments.

ebowwa avatar ebowwa commented on June 11, 2024

im still a tad lost, what do you save the env key as here ? it seems different from the webhook api secret

from nextjs-subscription-payments.

Bych avatar Bych commented on June 11, 2024

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):

  • ❌ I used whsec_xxx that I saw when I was adding events, but that webhook secret is for Local testing, not for testing on Vercel
    2024-04-04_10-59-31

So what you need to do is:

  • finish selecting event and hit "Add events" button
  • get redirected to the Webhook page
  • ✅ use Signin secret from the Webhook page as your Production STRIPE_WEBHOOK_SECRET env variable
    2024-04-04_11-00-29
  • redeploy the latest build on Vercel in order to apply the updated env variable

from nextjs-subscription-payments.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.