CRM-14197 derive paymentrequired status more clearly