#sa_919191

1 messages · Page 1 of 1 (latest)

manic bloomBOT
exotic axle
#

Hello

placid elk
#

Hi, taking a look here

exotic axle
#

sure, give me a moment

placid elk
#

What call are you making when you say 'the search instantly'?

exotic axle
#

$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

placid elk
exotic axle
#

thanks for sharing, is there any other API which I can use that doesn't have any lag?

placid elk
exotic axle
#

sure, i'll give it a go

placid elk
#

Also, if you just created the customer, you can just use the customer id that was just created right?

exotic axle
#

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.

  1. create setupIntent
  2. confirmCardSetup
  3. update customer email, and
placid elk
#

I see, did the list customer work?

exotic axle
#

im actually testing it now

#

thank, list works fine 🙂

#

I think it will be a good idea to include this in the doc of search