Skip to content
This repository was archived by the owner on Apr 22, 2021. It is now read-only.

Screens stop working every 30 days #1

Open
Tschrock opened this issue Feb 17, 2019 · 1 comment
Open

Screens stop working every 30 days #1

Tschrock opened this issue Feb 17, 2019 · 1 comment
Assignees
Labels
Status: Planned Type: Bug Something isn't working as expected

Comments

@Tschrock
Copy link
Contributor

Currently, the square account token expires after 30 days and there's no automated system to renew them.

There's not really a good solution since

  • When a token expires you just stop receiving order notifications
  • You can't renew the token before it expires

So basically you have to save the expiration date, set up a timer to renew it at that time, and then just continually try renewing it until it succeeds - and hope your time is in sync and you're not waiting on orders at that time because there's a chance you'll miss one between the time square expires it and the time you get it renewed.

@Tschrock Tschrock added the Type: Bug Something isn't working as expected label Feb 17, 2019
@Tschrock Tschrock self-assigned this Feb 17, 2019
@Tschrock
Copy link
Contributor Author

It looks like the Square API has changed a bit since the beginning of the year, and it's now possible to renew tokens before they expire.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Status: Planned Type: Bug Something isn't working as expected
Projects
None yet
Development

No branches or pull requests

1 participant