Thread Starter
Elevate
(@jenclickspring)
Hi, so it looks like disconnecting and reconnecting the connection worked. However, is there any way to prevent having to do this in the future? It is very cumbersome to have to keep reconnecting when the token expires and doesn’t give the customer a user-friendly experience.
Thanks!
Thread Starter
Elevate
(@jenclickspring)
Also, would my client need to reach out to the customers with failed orders in order for them to place the order again or is there some way to process it in the backend without having to do this?
Thanks!
HI @jenclickspring
Unfortunately the customers will have to order again.
Also regarding the ‘token being expired’, can you tell us the time duration between the last successful order and first failed order. Is it more than 30 days.
Thanks.
Thread Starter
Elevate
(@jenclickspring)
Hi there,
We launched our website on 9/26, but this is the first time the token expired.
It happened over the weekend so it has just been a few days. The last successful order was placed on 10/31, then the next order that was placed on 11/2 failed as well as the 3 orders after that.
Is there any way to perhaps make the expiration period longer or tweak it so that it doesn’t expire while still keeping the connection secure (since I assume it expires because of security purposes?) Or at the very least have a very obvious notification come up in the admin dashboard warning that the connection must be renewed? It’s really cumbersome having to deal with this issue.
Thanks!
Hi the time period limitation is from square, we cannot make any changes to it.
https://developer.squareup.com/docs/oauth-api/cookbook/renew-oauth-tokens
However it should be programmatically possible to renew token before expiration, I have forwarded the details to our technical team for consideration.
Thread Starter
Elevate
(@jenclickspring)
Yes, if you could get this done then that would be great. I actually think it’s a critical aspect that needs to be addressed. It really causes problems to have to manually disconnect/reconnect every 30 days.
I’m in contact with our developer about this, but can we add the link in the code you sent somewhere on our site to automatically renew token before expiration ourselves in the mean time?
Thank you!
-
This reply was modified 6 years, 6 months ago by
Elevate.
Hi @jenclickspring,
I am not able to understand what you are saying in second paragraph of your reply, In my previous reply I meant that we have forwarded the details to our technical team for consideration, if the improvement gets approved we will release this in our future update. At the moment the code for this is not developed.
Thanks
-
This reply was modified 6 years, 6 months ago by
WPExperts.io.