Okay, thanks for the explanation. Do you store this data or is it always pulled in from the API? Thanks!
All of the data is stored locally in the database for quick access. Otherwise, page loads would be horrendous and you would hit the 500 load limit on the API pretty quickly. None of this information is public or used by Leafping in any other way than to display your data back to you.
Sidenote: I plan on adding an SSL to Leafping.com if it gets much larger.
Thanks everyone, glad you’re enjoying it so far!
May I ask you why you need these permissions:
View your account financial history, Download the items you’ve purchased, Verify purchases of your itemsThanks
- View your account financial history — This is how Leafping works at its core. It needs to pull your recent sales data and display it and send you sales notifications (if you have that set up).
- Download the items you’ve purchased — Leafping doesn’t use this yet, but I plan on adding some kind of screen where you can easily download files you need from your purchased list. Not sure when this would be useful yet, but I wanted to get permission to future proof Leafping in case I do.
- Verify purchases of your items — This allows you to verify a customer purchase using a purchase code they send you from the Tools menu. I’ve used it several times to verify a purchase.
I’m getting a lot of “Refresh token not found” errors now. Do these refresh tokens last for a while or no? I need those refresh tokens to update the data using a cron script. If they don’t last long enough, I won’t be able to update those users.