#abdurrehman_webhooks

1 messages ยท Page 1 of 1 (latest)

jagged zincBOT
#

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

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

atomic brook
#

๐Ÿ‘‹ happy to help

slate furnace
#

hello hi there

atomic brook
#

would you mind sharing the webhook endpoint's ID? we_xxx

slate furnace
#

yeah sure . btw its really annoying :/

atomic brook
#

what is?

slate furnace
#

can u share why is this happening ??? and any possible workarounds???

atomic brook
#

what's your account ID?

slate furnace
#

sharing with u .wait a sec

#

acct_1RGxF0PqwSINQbc3

atomic brook
#

you need to disactivate it on your dashboard

slate furnace
#

u mean the webhook right???

atomic brook
#

yes

slate furnace
atomic brook
#

what is your theory?

slate furnace
#

btw i have disabled corner-old

atomic brook
#

which event you think was misrouted?

slate furnace
#

all of these. like subscription created

#

I cant get any single event to this corner-vibrant destination

atomic brook
#

evt_xxx

slate furnace
#

evt_1SYRa4PqwSINQbc3gx7xSLui

#

its a sample event

atomic brook
#

it's sending to the right webhook endpoint

#

but it's failing with this error:

{"error": "Failed to create stripe subscription", "message": "'NoneType' object has no attribute 'split'"}

#

so basically there's an issue on your side

slate furnace
#

but i triggered that event through resend button .But what i need is that stripe should trigger this via flow

#

its not about this webhook implementation i think. customer.subscription.created was being triggerd before during the flow

atomic brook
#

it's still

slate furnace
#

but now as i have mentioned earlier . after i had updated the routes stripe is not triggering this

atomic brook
#

it's still being triggered as I explained

#

but it's failing on your end

#

so you need to debug your code to see why the error I shared earlier is happening

slate furnace
#

its only triggered by clicking the RESEND button

atomic brook
#

if it was then I would see it as a retry, which is not the case

slate furnace
#

yeah i had debugged that

#

ok now i am creating subscription right now

#

u can see urself if new logs appears or not

#

no new events logged

#

as u cans ee

#

see*

jagged zincBOT
slate furnace
#

@atomic brook kindly share ur thoughts

half pulsar
#

taking over here, and struggling to understand the actual issue. can you summarise?

slate furnace
#

the issue is that corner-vibrant webhook is not responding to stripe events

half pulsar
#

is this the ID we_1SYR3FPqwSINQbc38OmNbOza?

slate furnace
#

as compared to corner-old which when activated respond to events .but its not suppose to

half pulsar
#

I think my colleague already explained this right? your endpoint code is throwing an error:
{"error": "Failed to create stripe subscription", "message": "'NoneType' object has no attribute 'split'"}

slate furnace
#

its not responding to any stripe event

slate furnace
half pulsar
#

you can see all of this in your Dashboard

slate furnace
#

since 28th i have tried to trigger this destination via multiple tries but its not triggerd

half pulsar
#

there was 3 delivery attempts of evt_1SYRa4PqwSINQbc3gx7xSLui on the 28th โ€“ all failed with the error I shared

#

you need to debug where/why that error is being thrown in your code

slate furnace
#

how can i refresh my webhook destinations?

#

can u help me in that??

half pulsar
#

I don't know what 'refresh my webhook destination' means

slate furnace
#

what can be the process for this

half pulsar
slate furnace
#

yeah I did . its a separate route for handling connected accounts

#

but only main thing i need right now is stripe to point to corner-vibrant instead of corner-old

half pulsar
#

that's not how this works. we don't 'point' anywhere โ€“ we send all events that fire to all webhooks endpoints configured to receive them

if you want to stop one endpoint from receiving new events, then just disable it

slate furnace
#

only logs are of till 28th

half pulsar
#

how are you creating subscriptions?

slate furnace
#

by checking out to stripe via client app

half pulsar
slate furnace
#

yeah i got it. the checkout session is in fact not being found due to which this destination is not being reached at all

#

i think i am wrong in debugging this issue

half pulsar
#

let us know if we can help any further