#sa_919191
1 messages · Page 1 of 1 (latest)
Hello
Hi, taking a look here
Can you share the request id with me please? Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
sure, give me a moment
What call are you making when you say 'the search instantly'?
$stripe = new \Stripe\StripeClient(getenv('STRIPE_SECRET_KEY'));
$result = $stripe->customers->search(['query' => 'email:'' . $email . ''']);
it seems the search doesn't provide real time data, it takes some seconds to return the latest entries, am I correct
req_6kPuTxE2rtNQMT
req_rkbYnyErjCRQtx
@placid elk these two didn't include the customer which was created earlier:
req_wWHF2NGtdudqzi and req_rkbYnyErjCRQtx
Yes, it appears that there could be some lag, https://stripe.com/docs/api/customers/search: Under normal operating conditions, data is searchable in less than a minute.
thanks for sharing, is there any other API which I can use that doesn't have any lag?
Can you try list customer, https://stripe.com/docs/api/customers/list?
sure, i'll give it a go
Also, if you just created the customer, you can just use the customer id that was just created right?
that would work if I created the customer before the payment form,
The registration and card payment is all in a single form
what I'm doing now.
- create setupIntent
- confirmCardSetup
- update customer email, and
I see, did the list customer work?