#lelouch

1 messages · Page 1 of 1 (latest)

covert locustBOT
weary plover
#

evt_1Nb33xC2b2UXE1UEqZ8ImcYl

thin owl
#

Looking

weary plover
thin owl
#

So that's the wrong event. That's issuing_authorization.created

#

issuing_authorization.request is what needs to respond in 2 seconds

#

Although that one also looks like it responded quickly

weary plover
#

thats issuing_authorization.request

#

i dont get it, where am i doing wrong ?

thin owl
weary plover
#

oh ya ma bad

#

evt_1Nb33wC2b2UXE1UECuF3GGXP

thin owl
#

Got it. Let me check withe a colleague

weary plover
#

sure thanks

thin owl
#

My colleague advised you to write in to support: https://support.stripe.com/contact so that they can investigate this issue. They believe it's an issue in using stripe cli test endpoints, so in the meantime they advised you use ngrok

weary plover
#

ah i see

#

let me test with ngrok first, will be back

covert locustBOT
thin owl
#

You should still write in to support though to get this fixed. It should work through the cli too

weary plover
#

still same issue

#

evt_1Nb3n3C2b2UXE1UEysgqxECT

thin owl
#

Yeah because that's still via the cli

weary plover
#

how do i do without cli ?

thin owl
#

Try creating a webhook endpoint via the test mode dashboard

#

Using the ngrok url

weary plover
#

u mean this ?

thin owl
#

No

#

Under hosted endpoints

weary plover
#

oh

#

sure

thin owl
#

And remove the local listener/cli one for now

weary plover
#

sure

#

will test now

#

still same issue

#

evt_1Nb3tRC2b2UXE1UEvOmBb6wc

#

is it because i set that a transaction should not be aproved unless by me ?

#

i dont know if that affects vertual cards

#

at the moment i am allowing payment only if i capture it, temporary till i finish implementing identity verifications

short solar
#

👋 hopping in here since codename_ducchess has to head out

weary plover
#

sure no problem

#

if i try capture that declined request it says that

short solar
#

Sorry for the delay - lots of people in the channel today

#

So for evt_1Nb3tRC2b2UXE1UEvOmBb6wc it looks like it wasn't actually sent to your ngrok endpoint - I think maybe you tested it too quickly after setting up so the webhook wasn't ready on our end

#

can you try one more time?

weary plover
#

no problem, sure will test again

#

i got this error : Error webhook No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe

#

is it this part

#

event = stripe.webhooks.constructEvent(
request.body,
sig,
process.env.STRIPE_WEBHOOK_EVENT
);

#

ya i think i need to seperate this webhook

#

be right back

#

works now

#

i think ya everything here done, thanks