'End of checkout process controller. Confirmation is basically seing
the status of a sale.order. State at this point :
- should not have any context / session info: clean them
- take a sale.order id, because we request a sale.order and are not
session dependant anymore'

@http.route(['/shop/confirmation'], type='http', auth='public', website=True)
def payment_confirmation(self, **post):

    sale_order_id = request.session.get('sale_last_order_id')
    if sale_order_id:
        order = request.env['sale.order'].sudo().browse(sale_order_id)
        return request.render('website_sale.confirmation', {'order': order})
    else:
        return request.redirect('/shop')
