#leanfucio

1 messages · Page 1 of 1 (latest)

graceful treeBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

calm bloom
#

Stripe doesn't support fetching all subscriptions or customers by price ID

#

You'd have to keep track the prices of the subscriptions in your own database and search within it

drowsy barn
#

oh crap. we don't do that, we only save customer id. alright then. I guess I'll just check the price id from the customer object programmatically. or is there a better way?

calm bloom
#

Customer object don't provide the price ID being subscribed. It's only available at Subscriptions object.

I'd still recommend saving the Price information in your database. Stripe enforces rate limit on our API: https://stripe.com/docs/rate-limits. The requests might fail if you run too many requests in a given period of time

Learn about API rate limits and how to work with them.

drowsy barn
#

Oh. that's a good thing to know. alright. Thank you for that!