#Yann - search

1 messages ยท Page 1 of 1 (latest)

teal sapphire
#

๐Ÿ‘‹ Hi there, Happy to help!
It seems like you have concurrency issue in your integration, what makes your integration searching for the same customer twice in a very short period ?

fringe atlas
#

In fact we have two situations where several customers are created.
The first is that we have two pages that retrieve a customer's information from stripe to display their subscriptions (the two pages display different information but we therefore have two requests).
The second is in the situation where we want to retrieve subscriptions from a customer and then retrieve their invoices based on the subscriptions returned by the customer's subscriptions.

teal sapphire
fringe atlas
#

this is how i look for it

#

and how i create it

teal sapphire
#

OK so as I mentioned at the beginning, it's a concurrency issue on your integration, so even you redesign your integration so that you send the second search request after you make sure that the first one (with the creation of the customer if not exists) finishes or use idempotent_requests while creating the customer

fringe atlas
#

ok thank you very much for your reply! great support!
Have a good day ๐Ÿ˜‰