Added max length for ipay