#LBrito-duplicate subscriptions
1 messages · Page 1 of 1 (latest)
Hey, thanks! cus_LqpwXwU0iYUsfj, cus_LqpwOiPqwOR2aV, cus_M0E8zufvm9Ahp5, cus_M0E8Jk8iIP8ZqD
could you please send the subscription ids for the first customer
Just a sec
for the first customer I only see one canceled subscription
sub_1L98GELmu5QiBx4BYwE1ioP2, sub_1L98GGLmu5QiBx4BtVLkJ9Tg
Well there are two customer ids for the same person: cus_LqpwOiPqwOR2aV and cus_LqpwXwU0iYUsfj
the idempotency key is different and the customer id is different
how are you creating the subscriptions?
"the idempotency key is different" that suggests we are sending two requests to you services?
yes with two different idempotency keys
Is there any way on your side that can be blocked?
what do you mean?
Haven't been able to reproduce it at all, so not sure how to avoid us creating two requests.
We check if the email is already in use
Before creating a customer
I think it's more an issue of your API being called twice and the idempotency key being generated on the API level
I can't really tell since I don't have all the context/code in front of me
Ok, thanks for the extra perspective, going to have a think about this.
let me know if you need any more help
Will do, thanks for your time
Hey, taking over here. Let me know if there's any follow-up Qs I can answer!
Thanks