The generic payment form introduced in 11.0 has changed the way we collect payment and so does the code. The route /website_payment/pay hasn't been changed to support the new payment form. This commit fixes this. It also fixes a bug for when a customer tries to create two transactions with the same reference.