• Resolved Elevate

    (@jenclickspring)


    Hi, I have already emailed our developer about this and I’m awaiting his response, but it looks like a few of our orders failed recently due to the token being expired. Do you know how we can get this token updated? Also, how can this issue be prevented in the future? In addition, is there a way to process the payment even though it has failed after we fix the issue?

    Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • 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!

    Plugin Author WPExperts.io

    (@wpexpertsio)

    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!

    Plugin Author WPExperts.io

    (@wpexpertsio)

    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 5 years, 4 months ago by Elevate.
    Plugin Author WPExperts.io

    (@wpexpertsio)

    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 5 years, 4 months ago by WPExperts.io.
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Payment Failed Because Token Expired?’ is closed to new replies.