#.suryamani
1 messages · Page 1 of 1 (latest)
Hello .suryamani, we'll be with you shortly! 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.
• .suryamani, 1 hour ago, 43 messages
• .suryamani, 3 days ago, 19 messages
• .suryamani, 3 days ago, 10 messages
Hi
While payment is failed invoice.payment_failed event is triggered and also customer.subscription.updated event is triggered, here the problem is it skipped the other events, You will see that problem i ave faced in this video
While payment is failed invoice.payment_failed event is triggered and also customer.subscription.updated event is triggered
Can you share the two events Id ?
here the problem is it skipped the other events,
You can't configure Stripe to skip sending event to your webhook endpoint. You need to update your integration to filter and skip the events if not needed
How will i do that can you explain me please?
evt_1O6rVSLabf7E4J4FegyzmoPK and evt_1O6rVRLabf7E4J4FqnxzYwp1
That's expected to have these too events there is no issue.
I think we've already talked about this when checking your previous threads in this channel. You need to implement a filter condution on your webhook endpoint to ignore events when you need to ignore them.
No, explain me to how to filter, I dont know about that
You create a condition in your code like using if...else and implement the condition you are judging with an event must be filtered or not.
i'm only using condition to check event to send emails
At the begining you were saying that there is some events that you don't want to listen to right ?
During payment failed, i dont want to listen customer.subscription.updated event
Great, then you write a condition to do nothing when you receive that event customer.subscription.updated
Your integration must expect to get both events in some cases.
but when customer upgrade or downgrade plan then in need to send email. I'm using customer.subscription.updated event to sedn that upgrade mail
In that case you need to add an additional condition on customer.subscription.updated and send an email only when it's an upgrade/downgrade
by checking the content of the event.
IS there any dataobject for upgrade or downgrade plan