#rohith_webhooks

1 messages ¡ Page 1 of 1 (latest)

vivid duneBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1253665286142296084

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

median sierraBOT
#

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.

stone furnace
#

Problem didn't solved

#

I have triggered payment_intent.success webhook in using stripe cli

#

still issue is there

chrome relic
#

Which error are you seeing exactly?

stone furnace
#

evt_1PU58MCdRI7rcOCIcuze9qLl

this is the event id

chrome relic
#
Webhook Error: Webhook payload must be provided as a string or a Buffer (https://nodejs.org/api/buffer.html) instance representing the _raw_ request body.Payload was provided as a parsed JavaScript object instead. 
Signature verification is impossible without access to the original signed material. 

Learn more about webhook signing and explore webhook integration examples for various frameworks at https://github.com/stripe/stripe-node#webhook-signing
#

Your code is malforming the request payload

#

Can you share the code you're using?

stone furnace
chrome relic
#

What framework is this?

stone furnace
#

node js

chrome relic
#

I can see it's Node, but is it Express?

stone furnace
#

yes

chrome relic
#

Can you share the code where you intialise the Express app?

stone furnace
#

in main ts file

chrome relic
stone furnace
#

still same error

chrome relic
#

I asked you to share the full code

stone furnace
chrome relic
#

Can you remove that console.log() on line 14

stone furnace
#

ok removed

torpid cliff
#

hi! I'm taking over this thread.