#.suryamani
1 messages · Page 1 of 1 (latest)
Hi
@hallow shard could you please share more please ?
I'm webhook events for send custom emails to user
this is my code
When i test webhooks in local when i create new subscription customer.subscription.created event and customer.subscription.updated event these two generates and received two emails
When i try to delete then also customer.subscription.updated event these two generates
Yes that's expected
You need to update your integration in order to send only one email
during new subscription why this customer.subscription.updated event generates
Can you share the event Id ?
"evt_1O0iRmLabf7E4J4F2tL2JoJh"
That event was generated after 3 min from the creation of the invoice
You need to update your integration to send an email
only for this event:
evt_1O0iOaLabf7E4J4FLXEoLzjJ
Did you see my code
Yes
Im sending email by using if condition
You need to debug your integration and see why you are sending two emails
there is no unexcpected behavior in Stripe Side so far.
When i debug in my code two events are generated
When i subscribe customer.subscription.created event need to generate, I'm i right?
but i got this event also customer.subscription.updated
According to the Subscription generated, there were customer.subscription.created and then (after 3 min) another event customer.subscription.updated was generated
I'm asking why that event generated
There were a change on default_source