Coder Social home page Coder Social logo

Comments (7)

Marfuen avatar Marfuen commented on July 22, 2024

Where is this hosted, vercel? @dongle132 You can check the vercel logs and see if you're getting an error

from headshots-starter.

dongle132 avatar dongle132 commented on July 22, 2024

Yes this is hosted by VERCEL ... just tried it again but in VERCEL I can only see these 4x entries:

image

I've also changed the data type of the column to INT4 (like in the readme mentioned) but still no credits number is saved

from headshots-starter.

Marfuen avatar Marfuen commented on July 22, 2024

@dongle132 I'm guessing your webhook url is set incorrectly, have you checked your environment variables?

from headshots-starter.

Marfuen avatar Marfuen commented on July 22, 2024

Did you setup the stripe webhook?

from headshots-starter.

dongle132 avatar dongle132 commented on July 22, 2024

Nope I've setup everything correct. After I've read through all the code I've found the error and fixed it.
The problem is (unfort) on your side =)

In the ENV.LOCAL File you define the stripe product VARS like this:
image

BUT in the stripe-webhook you call the 3x and 5x credit VARS with an S at the end. As soon as you remove the S everything works:
image

from headshots-starter.

dongle132 avatar dongle132 commented on July 22, 2024

FIXED

from headshots-starter.

Marfuen avatar Marfuen commented on July 22, 2024

Oh, I'll update the readme to fix that. Glad you found out what it was!

from headshots-starter.

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.