#tyler_webhooks

1 messages · Page 1 of 1 (latest)

golden gulchBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1336444098432991374

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

dense gazelle
#

I’m using the Stripe CLI to work in development mode.
When I manually run stripe trigger checkout.session.completed in the terminal, the webhook triggers successfully.
However, after the user completes the checkout and gets redirected to the success URL, the webhook is not triggered automatically, although I am successfully redirected to the success_url page.
The form is filled out and submitted correctly, but the webhook doesn’t fire which wont update the DB, even though the Stripe Checkout session completes successfully.

golden gulchBOT
shadow oriole
#

Hi, can you share an example object id that you expected to see this event but did not?

dense gazelle
#

The webhook is not being triggered at all when the form is filled out and stripe transaction goes through, but if i manually "stripe trigger checkout.session.completed
" in terminal it runs the webhook

#

I am not getting any triggers of my webhook when the stripe payment form is filled out and submitted and recorded within the stripe transactions etc..

#
      mode: "subscription",
      payment_method_types: ["card"],
      line_items: [
        {
          price: priceId,
          quantity: 1,
        },
      ],
      success_url: `${request.headers.get("origin")}/successfully-subscribed?session_id={CHECKOUT_SESSION_ID}`,
      cancel_url: `${request.headers.get("origin")}/subscriptions`,
      metadata: {
        companyId,
      },
    });```
#

even tho i get redirected to the successful page via the success_url my webhook "api/stripeWebhook" never gets triggered

shadow oriole
#

Can you share the checkout session is where the event did not fire? It would look something like 'cs_24yj3hfgh...'

dense gazelle
#

this is the URL page when payment goes through

#

I check stripe dashboard and gets recorded as a payment and a new customer sis created etc...

#

I assume the webhook routing is fine since typing "stripe trigger checkout.session.completed" in the terminal triggers it, but not sure

shadow oriole
dense gazelle
#

But when I "stripe listen --forward-to localhost:3000/api/stripeWebhook" in terminal and when i "stripe trigger checkout.session.completed" i get 200 and it runs the webhook

#

for example

shadow oriole
dense gazelle
#

Sorry im a little confused so far ive tried "stripe listen --forward-to localhost:3000/api/stripeWebhook" What are you suggesting ?

#

and i stored the webhook signing secret in my env

#

and cofirmed it was working by "stripe trigger checkout.session.completed"