Configuration adapter was not used for checking if order state was installed. Also modified adapter to get id shop and id shop group from context if not passed. This issue persisted only on multishop as legacy configuration class automatically sets id shop and id shop group if multishop is deactivated.
Also found weird config setter when exactly same configuration item is being set after it was set in order state install.
Same PR as https://github.com/mollie/PrestaShop1.7/pull/653
Configuration adapter was not used for checking if order state was installed. Also modified adapter to get id shop and id shop group from context if not passed. This issue persisted only on multishop as legacy configuration class automatically sets id shop and id shop group if multishop is deactivated. Also found weird config setter when exactly same configuration item is being set after it was set in order state install.