|
/ Knowledge Base /Troubleshooting/ Fix – SureCart store disconnected

Fix – SureCart store disconnected

There are some situations when the SureCart store is often disconnected from the website. This can happen if you have a plugin that is regenerating WordPress salts – we use this salt to securely store the API token in the database (so it’s not in clear text). However, regenerating WordPress salts will cause a disconnection. Often this is caused by security plugins.

 The fix is to add a line to your wp-config.php file that will hard-code your api token there. Can you add this: 

 define( 'SURECART_API_TOKEN', 'your_api_token' );

 Make sure it’s above this line: 

/* That's all, stop editing! Happy publishing. */
Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

Need help? Contact Support
On this page
Scroll to Top