PrestaShopCorp / mercadopagobr

2 stars 9 forks source link

Order created too early #3

Closed Quetzacoalt91 closed 9 years ago

Quetzacoalt91 commented 9 years ago

I have just discovered that orders are created too early during the checkout process.

The order is created when the customer clicks on the MercadoPago button. But what if it was an error and the customer wants to go back to the payment providers list ? He cannot, because the order would have been already processed. In consequence, the customer does not have to finish the whole payment process, because the order has been already created.

Please change your process to create the order ONLY when the customer comes back from your payment interface.

ricardobrito commented 9 years ago

Hi,

I made this way so we can have already an Order Id when our IPN (Instant Payment Notification) communicates with module, otherwise it will not work and the order status won't be updated. This is our design and how we implement the checkout: we pass the external reference which is the Order Id when processing the payment.

If there is an error the user can place another order again through Order History, clicking on re-place order.

Do you any suggestion? Is there a way to go back and have the cart again?

Thanks

ricardobrito commented 9 years ago

@Quetzacoalt91 I was able to re-model all payment process. Issue fixed.