Fix payment state in order importer. Fixes #5109