What if the customer does not pay in the second year?
If you have an enforceable contract, the client is obligated to pay for the services received.
As a business owner, I would be very concerned if a SAAS was demanding upfront payment for 2 years.