Giter VIP home page Giter VIP logo

Comments (6)

cjavilla-stripe avatar cjavilla-stripe commented on June 12, 2024

Hey @DaniyalDhz Thanks for reaching out. Sorry to hear the webhook payload doesn't include the expected data. Can you share the specific event ID (Its a string ID that starts with evt_) so we can take a closer look?

from checkout-single-subscription.

Daniyaldehleh avatar Daniyaldehleh commented on June 12, 2024

Hi @cjavilla-stripe
Thanks for getting back!
Sure so one of them is "evt_1HtJXvBBlUfRTiTYG4CrSAwb".

from checkout-single-subscription.

cjavilla-stripe avatar cjavilla-stripe commented on June 12, 2024

Hey @DaniyalDhz.

I just checked the logs for event and I do see the ID of the customer in that request body. Can you share more details about how this error is manifesting and what error output you're seeing?

from checkout-single-subscription.

Daniyaldehleh avatar Daniyaldehleh commented on June 12, 2024

Hi @cjavilla-stripe !
Thanks for getting back,

Yeah I do see the customer's info in JSON format on my (Stripe develops console) too w/o any error displayed on the server. However, I don't get the customer info JSON from stripeData = event["data"]["object"] to retrieve and store the necessary information unless I run stripe-cli web hook listener simultaneously which I don't think would be possible in production environment.

from checkout-single-subscription.

cjavilla-stripe avatar cjavilla-stripe commented on June 12, 2024

Hey @DaniyalDhz In production, you would configure the webhook endpoint in your Stripe dashboard to point to your production server. There's more info about this here: https://stripe.com/docs/webhooks/go-live

from checkout-single-subscription.

Daniyaldehleh avatar Daniyaldehleh commented on June 12, 2024

Hey @cjavilla-stripe !

That definitely makes sense! I was just hoping for a shorter version w/o having to fire up stripe cli for dev each time. Nonetheless, thank you for helping me :))

from checkout-single-subscription.

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.