#tobin_webhooks
1 messages ยท Page 1 of 1 (latest)
๐ 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.
- tobin_webhooks, 21 hours ago, 16 messages
๐ happy to help
great
you're correct to assume that you need to listen to account.application.deauthorized
what's the webhook endpoint ID that you're trying to edit?
did you create a connect webhook endpoint? or an account webhook endpoint?
we_1QrXuTSIuyMvuo7OMuwZWg24
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
i just need to trigger to this endpoint when an disconnected from stripe dashboard
how can i achieve this?
@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
ok wait i will check
you need to choose the Events on connected accounts
there must be more
what keyword i need to use?
where are you creating this from?
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
using the same url
that's really weird
what should i search in event name?
oh actually it's not weird because you're not considered as a Connect Platform yet
oh ok what should i do now.
have you uploaded your Stripe App and installed it on a separate account?
you need to create the webhook endpoint on your platform account acct_1Oqk92LdIlnHGLas not on the connected account
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
i will clarify my requirement
I understand your requirement
you as the platform webtoffee want to know when someone uninstalls your app right?
no no
oh you're installing the app?
and you want to know when the application is uninstalled?
i any of the customer uninstall this webtoffee app from there stripe dashboard they need to get trigger to endpoint
are you the developer of webtoffee? I'm a bit confused now
am a developer @webtoffee
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
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?
no, but you as a platform can receive one, and then inform the user if you want
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.
no that's no totally correct
please explain what iam wrong
when a user decide to uninstall your Stripe App, they will no longer be a connected account on your platform
ok k
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
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.
yes once you receive as a platform the account.application.deauthorized event you can do whatever you want with that...
ok thanks
it's all explained here https://docs.stripe.com/stripe-apps/events#app-events
ok k