#yashu_webhooks
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1248548139712118806
๐ Have more to share? Add details, code, screenshots, videos, etc. below.
If we setup webhook listener for each product, we might have duplicate data from other products as well.
Hi
Can you share more details please regarding this ?
We are running products on different domains (with its own independent backend and frontend).
If we are running a Stripe webhook for Product A.
And we recieve a payment for Product B.
The payment information will also be stored in Product A database (which is irrelevent data for Product A, and duplicate data)
What webhook event you are listening to ?
We are running products on different domains (with its own independent backend and frontend).
You should create a Stripe Account for each domain
https://docs.stripe.com/get-started/account/multiple-accounts#:~:text=You must use,your existing account.
Even if all the products are under single entity?
Like:
customer.*customer.subscription.*invoices.*
and more....
I see, you have two options then:
- Create a Separate Stripe Account for each domain (you can use Stripe Standard Account for examle)
- Listen to all events on each backend and implement a filter to drop the irrelevant product
The first option is more feasible, i think.
Thanks for the help. ๐