#dave_asheville
1 messages · Page 1 of 1 (latest)
Hi let's chat in here
ok
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?
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
https://dashboard.stripe.com/logs/req_fTzJiKeZuhHUot
https://dashboard.stripe.com/logs/req_GXVkk6g2jJcXXG
Those are both the creation requests
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
The timestamps are close apart so it's some bug in your code
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
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)