#dave_asheville

1 messages · Page 1 of 1 (latest)

compact plazaBOT
thorn ridge
#

Hi let's chat in here

boreal sparrow
#

ok

thorn ridge
#

If multiple subscriptions are being created with timestamps close together, then likely it's a bug

#

Can you share a subscription id and it's duplicate subscription id?

boreal sparrow
#

does a successful invoice payment trigger a checkout completed event? I am thinking that somehow my webhook is getting called twice in a row

#

sure

#

sub_1MhDa3Fe0xhDYvQfnYV0X3Kp

#

sub_1MhDa5Fe0xhDYvQf9ta5UgUL

#

those are both attached to a single customer

thorn ridge
#
#

The timestamps are close apart so it's some bug in your code

boreal sparrow
#

ok, well the only place i am making a call to create a subscription is in my webhook that listens for a successful checkout event

#

i have my API calls in try catch blocks in there to prevent a failed webhook from repeating and creating duplicate subscriptions

thorn ridge
#

Did you examine your server logs to try to trace what happened? (ie if there were duplicate events or if the same event was sent twice)