#fye1165

1 messages · Page 1 of 1 (latest)

fallen sentinelBOT
fickle arch
#

Your system should ensure that the customer creation should be done after successfully retrieving the customer

full coral
#

I already do that

#

And i ran my program in debug

#

It's not retreiving the "customers"

#

cause it's running too fast

#

So i need to correct this with a

#

Is that normal

fickle arch
#

For Search API, it will take time for the Customer object to be ready to search.

After the Customer object is created, its customer ID should be saved in your database. The next time when you look for whether the customer is created, it can be searched in your own database

full coral
#

I dol'nt really understand, what u mean, what can correct my bug

fickle arch
#

What I meant is that:

  1. You shouldn't use Search Customer API immediately after a customer creation as it takes time for Customer object become searchable
  2. It's not recommended to use Search Customer API to check whether the customer is created with Stripe. You should save the Customer ID in your database after the creation and search within your database. Not through Search Customer API