#ramires-gomes_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/1275421258150051850
๐ 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.
- ramires-gomes_api, 4 days ago, 91 messages
- ramires_checkout-connect, 4 days ago, 18 messages
- ramires-gomes_code, 4 days ago, 9 messages
hi! you don't register one endpoint for each account, you instead register one endpoint on your platform and we send all the events to that.
I will explain how we work. We have a custom E-Commerce platform, and when a client hires us we take a copy of this platform and host it on a server for them. In other words, for each of our customers there is a completely independent system with their own custom domain, this way if we register only 1 webhook only 1 site will receive responses from Stripe, and from what I understand this webhook will receive responses from all
yes usually you have a central platform that recieves and processes events for all connected accounts.
Think of it as if we worked with woo-commerce (that's not the case but it's similar), and for each customer we customize a complete store, however each store is in their own domain
if that doesn't work in your model then the options are
- write to support to explain your model and request us to enable the use of https://docs.stripe.com/api/webhook_endpoints/create on connected accounts(it's blocked by default but it can be allowed if you have a specific reason for needing to do it this way)
- maybe don't use Connect if you're more of a plugin than a platform, but sounds like maybe the first option is better.
- build a central server that can redistribute/foreward incoming events to the other clients
For the first option, what would be the difference between using the API and using the dashboard? Just so I understand why it is disabled by default
hi! I'm taking over this thread.
Hi @magic quarry
For the first option, what would be the difference between using the API and using the dashboard? Just so I understand why it is disabled by default
not sure what you mean. by default it's just not possible to create a webhook endpoint directly on a connected account. but if you talk to support you might get access to a feature to do it with the API.
I realized that if I contact support, they can enable the use of the API to create webhooks, but I didn't understand what the difference would be between creating webhooks through the API or through the dashboard
I'm not sure I understand. in general you can interact with Stripe using the Stripe dashboard by clicking on links/buttons, or with the Stripe API by writing code.
if Stripe support enables that feature, then you (the platform) would be able to create webhook endpoint on the connected account with the API, but I don't think it will be possible in the dashboard.
My problem is that I have a URL for each connected account, and each application is completely independent, that is, I would have to have webhooks for each application (1 for each connected account)
so you are not using Stripe Connect?
is that I have a URL for each connected account,
URL of what exactly?
Yes, I'm using Stripe Connect, but each connected account is a copy of my e-commerce platform
Let me give you an example..
Connected account 1: https://test.cback.pt/stripe/notificacao
Connected account 2: https://pontobelo.pt/stripe/notificacao
Connected account 3: https://mariabunnita.pt/stripe/notificacao
can you share your account ID (acct_xxx)? it's at the top of this page: https://dashboard.stripe.com/settings/account
acct_1PLUZ1BNCZo5fcGZ
For now I only have 1 test connected account created, but to put it into production mode I will create 1 connected account for each of my clients
I confirmed that you are using Connect. so what's the issue with the suggestion from above?
write to support to explain your model and request us to enable the use of https://docs.stripe.com/api/webhook_endpoints/create on connected accounts(it's blocked by default but it can be allowed if you have a specific reason for needing to do it this way)
Two questions:
- Where should I contact support?
- By enabling this option, will I be able to create 1 endpoint for each account separately?
- https://support.stripe.com/contact
- yes, by using this endpoint with the Stripe-Account header: https://docs.stripe.com/api/webhook_endpoints/create
Thank you for your support
happy to help ๐