How you account for revenue depends on whether you have set up your company on a cash basis or an accrual basis. Where you'll run into some issues is the fact that you're receiving the cash in one year, but not providing the products in the same year.

That could throw off your books, if you don't handle this correctly.

Have a good long talk with your accountant about how to carry this out properly.