Support » Plugin: WooCommerce Square » Square disconnects when PHP restarted

  • Resolved mikeywazowski

    (@mikeywazowski)


    When PHP is restarted on my server, the Square connection breaks and has to be reconnected manually.

    If I run the wc_square_refresh_connection hook instead of reconnecting manually, in the logs I get the error No refresh token stored, cannot refresh connection.

    Surely the token is stored in the database, and shouldn’t be removed when restarting PHP?

    • This topic was modified 11 months, 2 weeks ago by mikeywazowski.
    • This topic was modified 11 months, 2 weeks ago by mikeywazowski.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Aashik P – a11n

    (@aashik)

    Hi there!

    Please get back to us with the exact steps to replicate this behavior.

    I’m asking because on my test site, turning off the local instance and running it when I need to test something doesn’t result in a broken Square connection.

    Plugin Support AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Square disconnects when PHP restarted’ is closed to new replies.