fix for MAGE-4545 check if payment orderstatus has a state assigned

if configured status for payment method is unassigned , new orders would have wrong status, check that configured status has assigned state