#CaReS

1 messages ยท Page 1 of 1 (latest)

nimble nightBOT
soft tusk
#

Hi! Let me help you with this.

#

Just to clarify, are you using Stripe Connect?

#

Could you please send an example event ID (evt_...) that you received twice?

potent ivy
#

Maybe a beet clarify the situation

#

an reform the question

#

If I use my stripe account on more than one platform and in all of them I set up webhook events like payment_intent_created and paymet_intent.succes

When some payment intent was created on the first platform it will trigger all webhook on other webhook as well?

soft tusk
#

What do you mean by "platform"?

#

Could you please send an example event ID (evt_...) that you received twice?
This would help me understand better.

potent ivy
#

I can't sent because it was feedback from our client

#

platform means some site

#

As an example can be
I'm the owner of three sites
in all of them, I have set up a payment method for may users

All three sites use payment intent actions for payment

#

That means every my sites have configured its own webhook, and all of them have set up events like paymnet_intent.created
paymnet_intent.succeeded

The main question is if at first, my site someone does the payment this event will be triggered in all three webhooks?
Since they all have the same events

#

cc @soft tusk

soft tusk
#

I see.
Do each of the sites have a separate Stripe Account? You mentioned that they all use the same Stripe API key, correct?

#

Do you and your clients use a single Stripe account or multiple?
Are you using Stripe Connect?

potent ivy
#

I assume our client uses the same stripe account for all sites that they have included in our site as well.

We are not using Stripe Connect

#

Not sure about our client if she use Stripe Connect

soft tusk
#

I see. In this case, your situation is expected. We send all events that happen on your Stripe account to all your webhooks.
Normally, you should use separate Stripe accounts for projects, websites, or businesses that operate independently from one another: https://stripe.com/docs/account/multiple-accounts

#

There are 3 ways to solve this:

  1. Create separate Stripe accounts for each website.
  2. Use Stripe Connect, which seems to be best fitting for your situation. One account will act as a Platform that can manage other accounts. You can read more here: https://stripe.com/en-de/connect
  3. Use metadata property in PaymentIntents to check where requests come from. However, this is not recommended because you shouldn't be sharing your Stripe API keys with other organizations. Find API docs here: https://stripe.com/docs/api/payment_intents/create#create_payment_intent-metadata
potent ivy
#

Thank you for your help ๐Ÿ™

soft tusk
#

Happy to help. Let me know if you have any other questions.

lament lynx
#

๐Ÿ‘‹ taking over for my colleague. Let me know if there's any follow-up Qs I can answer!