#mtliendo-crud

1 messages · Page 1 of 1 (latest)

winged egret
#

Hello 👋
This seems more like a "how to handle certain operation" question rather than a Stripe API integration question.

charred gust
#

Hey Hanzo (and dang you're going beastmode answering questions!)

Like Hakan mentioned, it's true that users are linked to the admin, but for the Stripe side of things, I'm wondering how to best cache the customerId (since I'll use that to check if the subscription is valid). It seems simple enough to check the subscription validity every operation, but I'll likely get rate limited. Is there a way, I can check it once for the day and cache it?

winged egret
#

Why do you think you'd be rate limited? Have you tried this approach already and have seen any rate limited requests?

charred gust
#

I was just thinking because it's a multitenant app. So the API requests would increase exponentially with every new user/tenant added. But I guess at 100 read/writes per second, that may not be as big a deal as I thought and I could be preoptimizing.