Webhook - Stripe fires multiple times Bubble workflow

Hei guys,
i noticed this problem.

I’ve set my Stripe Webhook and it s sending data to Bubble.
I ve noticed that Stripe is sending it thoughout these Logs.

Basically when Stripes captures a payment, then Bubble should create a Thing. Here you can see:

But I am seeing a problem. Everytime the customer pays on checkout then bubble creates automaticaly 6 raws

That’s of course what I don’t want. Why this is happening?

But i noticed this thing.
If I resend the singluar logs through Stripe then bubble firse the workflow and creates a singular raw.

In this case if i send this log then a the new raw is.

But If I send this log

then the raw that Bublle creates is the good one

What should I do?

You might have enabled multiple Stripe events for the same Webhook. If you only need checkout.session.completed, you may want to edit the Webhook events list and remove the other events.

image

Okii it worked, thank you :slight_smile:

1 Like

Hei, but if i want to receive two events type and let it work correctly. How am i supposed to work on it?
I want to receive aldo Invoice.paid event. How can I make it work?

Hi! You can check the type in the webhook payload and use Bubble conditionals to run different workflows based on it. For example, if type = this, do this; etc.

{
“id”: “evt_1Example”,
“object”: “event”,
“type”: “payment_intent.succeeded”,

}

This topic was automatically closed after 70 days. New replies are no longer allowed.