#KRS

1 messages · Page 1 of 1 (latest)

desert tulipBOT
wind violet
#

hello! can you share the invoice id?

pale spindle
#

i usually able to search in the dashboard with invoice number or using the customer mail id

#

will it not work anymore?

#

if I need to invoice id, i need to go to the DB to fetch it, thats why the ask

#

invoice id = in_1MjbyUIvwrjYDHRMf7VWb6tg

wind violet
pale spindle
#

ok..

#

even the customer search API is not returning results

#

stripe.Customer.search(query=f'email:"skr2+fd84292@subscribili.com"')

#

@wind violet ^

wind violet
#

what language are you using?

pale spindle
#

python

wind violet
#

what's the f for?

#

i.e. query=f....

pale spindle
#

it is f-string

#

stripe.Customer.search(query='email:"skr2+fd84292@subscribili.com"')

#

i removed and tried this too. it is not returning results

wind violet
#

i've tried that codeand it works fine for me - it returns results. i'd suggest that you check if you have such a customer with an email address on your Stripe account first

pale spindle
wind violet
#

that customer is on a different account from the invoice id you provided just so you're aware, are you making the request with the secret key for the correct account?

pale spindle
#

and i am using correct key, confirmed.

#

i am able to search older customers but only the ones which are created today are not searcheable

#

is there any limit on the number of customers that an account can have?

wind violet
#

oh sorry, my bad, i was looking at the wrong account

#

we have an ongoing issue right now that is causing Dashboard search and API search to be delayed. If you want to be informed once the issue is resolved, I'd write in to Support to be kept updated