In the last two months we have received several times a token error during purchases in the online commerce of our client (Client ID: 223728), when checking the OAuth token API on Stuart’s website, it had changed, for so we proceeded to put the new one in the woocommerce plugin to restore operation.
Is it normal for the token to change automatically? Could it be changing for some reason that we don’t understand?
The plugin you are mentioning is not developed by us, as we have not developed any. However, let’s try to understand the issue.
In the public configuration page, how many fields are there to introduce Stuart’s tokens? 1 or 2? If there’s only one, it’s highly likely that the plugin developer asks for an active and valid token, which as API integration, lasts only for 1 month. If they ask for 2, that would be client ID and client secret, and with that, they could dynamically generate the token as they need it and theoretically, it should never expire (as when it does, it’s renewed).
My feeling is that it’s the first case, so the token needs to be renewed every 30 days.