And another item... (= cartData.lines.length - 3 =) other items...
(= error =)
Please use the format dd/mm/yyyy