Support

Home Forums Event Espresso Premium Square Oauth Token Expires Regularly

Square Oauth Token Expires Regularly

Posted: May 8, 2023 at 10:02 am


mkreik

May 8, 2023 at 10:02 am

I wrote to you about this issue and the support request is now closed to replies even though it wasn’t resolved. We regularly find out the Square Oauth token expired when we get emails from customers who cannot process a transaction. We cannot have this happen as it make the site unreliable.

In my previous support post I let you know that Square had disconnected for another client of mine using a different plugin, and I was concerned that the Square connection isn’t reliable. We also have WooCommerce with Square on the site so I don’t know if that causes issues. We have MFA on the connected account, and I was told by EE that shouldn’t impact the connection. In my previous post you asked if I would be willing to work with you since you cannot replicate it, but I never heard back from you. We need the resolved as quickly as possible.


mkreik

May 10, 2023 at 11:52 am

Do you have a resolution?


mkreik

May 15, 2023 at 11:09 am

It’s been a week since I submitted this support request. Could you let me know how I can make sure that the Oauth token refreshes every 30 days and why that isn’t occurring in our case?


mkreik

May 22, 2023 at 10:37 am

Following up again to see why the EE plugin has a glitch with the Square auto token refresh.


Ted Karlsalr

May 23, 2023 at 9:39 am

Hey there,
We have the same issue here. I check the status of Square everyday and it is ver annoying!

Ted


mkreik

May 23, 2023 at 4:02 pm

I’m glad we’re not the only one, but Event Espresso is not responding to my support posts. I have several unanswered. Have you had similar issues with EE support on this issue?


Ted Karlsalr

May 23, 2023 at 5:49 pm

Actually, the support team is awesome, but in the case of Square plugin, I think they don’t have any solution so far. I am waiting for them to fix the issue.

I really like the Square plugin but getting disconnected every now and then is annoying to say the least!


Garth

  • Support Staff

May 24, 2023 at 1:01 pm

We’re not missing this. We have not been able to reproduce this so it’s become really difficult to do debug. If you have any more information or hints on what might be causing this please let us know. As such, this is already on the list for our development team to review to see if we can make the token system more stable.


mkreik

May 24, 2023 at 3:31 pm

That would be great. I believe ours will disconnect on June 7 or 8 since it disconnects around every 30 days. You previously asked me if I wanted to help with the debug process. How can I do that? I thought I would turn on the debug mode for the Event Espresso Square plugin, but when I set it to Yes and then tried to reconnect to Square I get an error about using a sandbox.


mkreik

May 24, 2023 at 3:36 pm

As far as insight, I worked with someone who has the WooCommerce Square plugin, and it would regularly disconnect. The person had to stay on top of the plugin updates to prevent it and even then they would need to watch for failed transactions. I believe Square is the unstable part of this, not EE. The site I have an issue with right now has both the EE Square plugin and the WooCommerce Square plugin. I don’t know if one is causing the other to fail or if it’s unrelated to it.


mkreik

May 24, 2023 at 3:37 pm

This reply has been marked as private.


Tony

  • Support Staff

June 1, 2023 at 12:27 am

How can I do that? I thought I would turn on the debug mode for the Event Espresso Square plugin, but when I set it to Yes and then tried to reconnect to Square I get an error about using a sandbox.

That option is basically for testing transactions, it connects to your Square ‘Sandbox’ account to allow you to make test card payments and wont help debug this particular issue.

I don’t know if one is causing the other to fail or if it’s unrelated to it.

Hmm, possibly but we’ve had a couple of reports of this (although not all Square users) and those aren’t using both.

In response to your private reply, yes, that is possible but again you are not the only person affected by this so whilst that could be a contributing factor I don’t think it’s the main cause currently.

We’ve made some changes within the Square payment method around how the OAuth token refreshes to see if that helps with this. I can send you the latest version of the add-on to install and see if it helps, the biggest problem with testing this is we need the oAuth token to expire to confirm the refresh works. We can obviously force those conditions locally to test it but that doesn’t rally test real world scenarios.


mkreik

June 1, 2023 at 2:57 pm

Thanks so much for getting back to me, Tony. The last time the token didn’t reauthorize was May 8th so I believe it will happen again on June 7th. Yes, send me the latest version or a link to it, and I will install it and see if it fails to reauthorize on June 7th. Is there anything you need from me prior to that?


Tony

  • Support Staff

June 2, 2023 at 7:38 am

This reply has been marked as private.


mkreik

June 2, 2023 at 1:14 pm

Thank you! I’ve uploaded the version you sent. I will watch for any issues on June 7th. Hopefully Square will reauthorize.

You must be logged in to reply to this support post. Sign In or Register for an Account

Event Espresso