Fix problems with prestashop ordering

The IPN now creates the new order again, redirecting from the invoice to
the order history works, ipns update the backend.

To be done still is having the bitpay status of orders update correctly.