#vlad_webhooks

1 messages ยท Page 1 of 1 (latest)

cobalt heronBOT
#

๐Ÿ‘‹ 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/1283720267104915497

๐Ÿ“ 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.

odd tinsel
#

For both event, your webhook endpoint responded successfully (200)

spare root
#

Yes

odd tinsel
#

So I assume there is no signature issue then ?

spare root
#

it's an automated message from API Gateway

#

Yes, there is

odd tinsel
#

I'm not sure I'm following here. What is the issue you are facing ? can you share more details/Stacktrace ?

spare root
#

Error processing message: The expected signature was not found in the Stripe-Signature header. Make sure you're using the correct webhook secret (whsec_) and confirm the incoming request came from Stripe.

cobalt heronBOT
#

๐Ÿ’ What you can share safely

This is a public server. Anyone can see the messages posted here, so you need to be careful when sharing certain information.

๐Ÿ›‘ Not safe to share

Do not share anything sensitive or privileged on Discord, including the following:

  • ๐Ÿ›‘ Secret API keys (most Stripe secret API keys start with sk_, rk_, or ek_)
  • ๐Ÿ›‘ Secrets (examples include Stripe's client secrets, which contain _secret_, and Stripe's webhook signing secrets, which start with whsec_)
  • ๐Ÿ›‘ Passwords, keys, or other login/authentication details
  • ๐Ÿ›‘ Information about non-public features or functionality

If you don't want something public, don't share it here.

โœ… Safe to share

Stripe object IDs are safe to share in public, and are often required to help us investigate and debug issues. Some examples of IDs you can share safely are:

  • โœ… Customer IDs (cus_)
  • โœ… Checkout Session IDs (cs_)
  • โœ… Subscription IDs (sub_)
  • โœ… Invoice IDs (in_)
  • โœ… Setup Intent IDs (seti_)
  • โœ… Payment Intent IDs (pi_)
  • โœ… Charge IDs (ch_ and py_)
  • โœ… Request IDs (req_)

This list isn't comprehensive; there are too many Stripe object IDs and prefixes to list that are safe to share publicly.

If in doubt, ask someone on this server with the Stripe Staff role if a particular piece of information is safe to share before you share it.

odd tinsel
#

Please delete your webhook secret and never share it

spare root
#

sorry for that

odd tinsel
#

No worries, it's for your privacy!

#

Error processing message: The expected signature was not found in the Stripe-Signature header. Make sure you're using the correct webhook secret

#

What is the difference for the two events regarding this ?

#

There must be something changed in your integration between the two events

spare root
#

I was thinking to ask you that ๐Ÿ™‚

#

There is no difference

odd tinsel
#

We need more details here to narrow this.

#

have you tried to run some tests in your local env and debug your code ?

#

You can use Stripe cli to trigger some test events and consume them locally via stripe listen

spare root
#

what is the difference between setup_intent and charge events?

#

Yes, I got the same result

odd tinsel
#

For webhook signature point of view, there is no differnce

spare root
#

Is there any settings that I need to check?

odd tinsel
odd tinsel
cobalt heronBOT