The Massachusetts attorney general noted some consumers were caught by surprise when they realized the full cost of their agreements after signing.