Support

Home Forums Community Forum I suspect that the Square token is not refreshing

I suspect that the Square token is not refreshing

Posted: November 17, 2022 at 11:53 am

Viewing 1 reply thread


PRC2160

November 17, 2022 at 11:53 am

My client’s site began using the Square plugin as the payment gateway for EE4 back in September. I suspect that the Square token is not refreshing because for in both October and now November the Square connection has gone down. It starts working again only when they reconnected the API.

According to the Square documentation, the ACCESS_TOKEN_EXPIRED error happens when a token is not refreshed for 30 days, so that lines up with the outages every month my client is experiencing.

I can see in the code of the EE4 Square OAuth module that there is a function that is set to check if the token is 6 or more days old. I suspect that there may be a problem in either this function or the refresh token function.

How do you recommend I troubleshoot this issue?


pawmedia

November 18, 2022 at 9:00 pm

This has been an ongoing issue for a long time. https://eventespresso.com/topic/square-payments-is-disconnecting/?view=all#post-331357

We have lost thousands of dollars in ticket sales from the Square token expiring without warning on a regular basis. Happened again this afternoon after a major ticket launch. 🙁

Viewing 1 reply thread

The support post ‘I suspect that the Square token is not refreshing’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso