#Asad
1 messages · Page 1 of 1 (latest)
what is the difference between API ID and PRICE_ID?
can i use API_ID as price_id?
@wet cedar
Can you clarify what you are tying to do? And where did you see API_ID mentioned?
But a price ID should always look like this: price_xxx
Actually some of my products includes API ID and some of them have price_id, so i'm bit confuse which one i've to use to get price to show on checkout.
But what is API ID? Can you share an example of a product with this?
yes
ideal-if-you-aim-for-a-first-class-72-1year , this i an API id that i'm getting in price_tab
Can you share the product ID (prod_xxx) where you see this?
Also can you clarify what you are tying to do? What is your end goal?
beside this, can you please tell me how can i search customer from stripe through customer _id?
Hey! Taking over for my colleague. Let me catch up.
i want to search a customer through email.is there any specific query for this?
i've tried stripe.customer.search(query="email:test@test.com").
Yes you need to use that API:
https://stripe.com/docs/api/customers/search
Here is the query fields for the customer endpoint:
https://stripe.com/docs/search#query-fields-for-customers
hi
i m getting this error stripe.error.InvalidRequestError: Request req_1ZwH0ha5TKqu3r: Search is not supported on api version 2019-12-03. Update your API version, or set the API Version of this request to 2020-08-27 or greater.
how can i tackle this?
Ah yes you need to upgrade your API :
https://stripe.com/docs/upgrades#how-can-i-upgrade-my-api
You can find your current API version and migrate to the latest one at:
https://dashboard.stripe.com/developers
what if i updraded?
actually i'm using the same account in different site,so i want to confirm upgrade will not effect the other site.
You need to follow the upgrade guide... try using the Stripe-Version and test the latest API version
https://stripe.com/docs/api/versioning
i got it, i just want to confirm that eveythin will remain same.
it won't make mess ,just want ot confirm this.
?
The only way to confirm this is to test your existing website with the new version
okay
You're welcome!