#rafmaghari-webhooks

1 messages · Page 1 of 1 (latest)

topaz forge
#

hi there! typically this issue occurs when you're either :

  • using the incorrect webhook secret, or
  • not passing the raw request.body to construct the event

How are you testing webhooks? Are you using the Stripe CLI to trigger/listen for events?
Can you log the webhook secret during runtime to check if it's correct?
Can you confirm if you have any middleware that's parsing the request body?

bold pagoda
#

How are you testing webhooks? Are you using the Stripe CLI to trigger/listen for events?

I'm using the webhook then triggers the event in dashboard manual payout (listening for payout.paid

#

I have a working webhook but I found out that \Stripe\Event::constructFrom does not include the account_id if the payout is schedule.

Here's the response as you can see it has no account id.

topaz forge
#

can you paste the event id here?

bold pagoda
#

evt_1L3V7AFjhTgrkBv8shwTgAhd this one?

#

however in my checking in my local it does include the account ID but I used the manual payout.

topaz forge
#

in my checking in my local it does include the account ID but I used the manual payout. - where did you check in your local? where are you seeing the account ID?

bold pagoda
#

when I logged it in my webhook..

topaz forge
#

can you share the event id of the manual payout event also?

bold pagoda
#

Let me check it..

#

I deleted it already 😦

topaz forge
#

you can try creating a manual payout again

bold pagoda
#

sure I will send it here..