normalize payment and custom field attrbiutes