I tried to reconstruct my local backup file of Xstore since my local backup file was broken. I tried to reconstruct several times with downloaded file, but no joy. I faced the error message: invalid purchase code.
Would you please help me?
What version of our theme and XStore Core plugin do you use there? Make sure that both are latest versions. Try to deactivate XStore Core plugin and activate theme, enable plugin after activation.
Let me know about results.