#donalfrompocketed
1 messages · Page 1 of 1 (latest)
Recommend you load data in your own datastore that way querying is faster
So you could run the code above once and store the data you need to store on your end. Then, your dashboard could query that data
To keep the dashboard up-to-date, you could use Webhooks: https://stripe.com/docs/webhooks to get notified of new charges and then store that data in your datastore as new data comes in
This is an awesome idea, I was wondering if there was a quicker Stripe API call I could use but this makes a lot more sense and would be much better for performance. I really appreciate your advice on this!
Are there any GDPR issues with storing this data on our own database? I guess not if we just store the amounts/dates without any of it being tied to customers.
No worries, I can check that out myself. Thanks again!