Change Order to checkout after payment is made.
Change Order and Payments relationship to ManyToMany.
Use local function for generating the voucher code.
Use jQuery directly to work-around problem with ember-data.