#tobin_webhooks

1 messages ยท Page 1 of 1 (latest)

lucid groveBOT
#

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

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

dim zealot
#

๐Ÿ‘‹ happy to help

fallow sleet
#

great

dim zealot
#

you're correct to assume that you need to listen to account.application.deauthorized

fallow sleet
#

but i can't see it in my eventlist in webhook

#

see this screenshot

dim zealot
#

what's the webhook endpoint ID that you're trying to edit?

#

did you create a connect webhook endpoint? or an account webhook endpoint?

fallow sleet
#

i created the webhook

#

this is the endpoint

dim zealot
#

the webhook endpoint ID is we_xxx

#

would you mind sharing that?

fallow sleet
#

we_1QrXuTSIuyMvuo7OMuwZWg24

dim zealot
#

thanks

#

you've created this as an account webhook endpoint

#

meaning that you will listen to events happening on your own account

#

if you want to listen to events happening on your connected accounts you need to create a connect webhook endpoint by choosing "Listen to Connect events" radio button in the dashboard

fallow sleet
#

i just need to trigger to this endpoint when an disconnected from stripe dashboard

#

how can i achieve this?

dim zealot
#

@fallow sleet you need to create a new webhook endpoint because you won't receive that event on the current webhook endpoint you've created

fallow sleet
#

ok wait i will check

dim zealot
#

you need to choose the Events on connected accounts

fallow sleet
#

only 4 events related to account is shown

dim zealot
#

there must be more

fallow sleet
#

what keyword i need to use?

dim zealot
#

where are you creating this from?

fallow sleet
#

using the same url

dim zealot
#

that's really weird

fallow sleet
#

what should i search in event name?

dim zealot
#

oh actually it's not weird because you're not considered as a Connect Platform yet

fallow sleet
#

oh ok what should i do now.

dim zealot
#

have you uploaded your Stripe App and installed it on a separate account?

fallow sleet
#

checkin

#

app is installed now

#

only this much events

dim zealot
#

you need to create the webhook endpoint on your platform account acct_1Oqk92LdIlnHGLas not on the connected account

fallow sleet
#

acct_1QrGEMSIuyMvuo7O

#

this is my account id

dim zealot
#

no that's the account where you installed the app

#

the one that hosts the app is acct_1Oqk92LdIlnHGLas

#

this is where you need to create the connect webhook endpoint

fallow sleet
#

i will clarify my requirement

dim zealot
#

I understand your requirement

#

you as the platform webtoffee want to know when someone uninstalls your app right?

fallow sleet
#

no no

dim zealot
#

oh you're installing the app?

#

and you want to know when the application is uninstalled?

fallow sleet
#

i any of the customer uninstall this webtoffee app from there stripe dashboard they need to get trigger to endpoint

dim zealot
#

are you the developer of webtoffee? I'm a bit confused now

fallow sleet
#

am a developer @webtoffee

dim zealot
#

ok

#

so to be clear, there is no direct way to notify the connected account. You need to create a connect webhook endpoint on your platform

#

and when you receive the account.application.deauthorized event you would then notify the account yourself

#

by sending an email or so

#

in all cases the app won't be uninstalled by itself right? so if the connected account uninstalled the app this means that they know that they've uninstalled it and no need to have a webhook endpoint for this

fallow sleet
#

but we have wordpress plugin for stripe payment when a customer disconnect or uninstall app u can't send any events to that endpoint right?

dim zealot
#

no, but you as a platform can receive one, and then inform the user if you want

fallow sleet
#

my current understanding is,
a webhook need to create at webtoffee app and it will get trigger while a customer uninstall the app from stripe dashboard.
the event will trigger the web hook and get trigger in the end point added in the webhook.
after that from there we need to sent a request to client site where stripe plugin is installed.
so from that the plugin can disconnect it in the plugin.

dim zealot
#

no that's no totally correct

fallow sleet
#

please explain what iam wrong

dim zealot
#

when a user decide to uninstall your Stripe App, they will no longer be a connected account on your platform

fallow sleet
#

ok k

dim zealot
#

if you have a connect webhook endpoint on your platform account you will receive an account.application.deauthorized event notifying you as a platform that your user/connected account decided to disconnect from your app

fallow sleet
#

my need is to infrom the cleint site the app is uninstalled from the stripe dashboard.
so it need to disconnected from the plugin setting page.

dim zealot
#

yes once you receive as a platform the account.application.deauthorized event you can do whatever you want with that...

fallow sleet
#

ok thanks

dim zealot
fallow sleet
#

ok k