bambora / checkout-magento-v2.x

Bambora Online - Magento 2
https://www.bambora.com/sv/se/betalningslosningar/
3 stars 13 forks source link

Stuck with pending orders if browser is closed when when payment window is open #26

Closed mysil2 closed 6 years ago

mysil2 commented 6 years ago

Orders seems to be created when initiating the payment window and cancelled if the user clicks "cancel". However, if the user just exits the browser without paying, the order is stuck in pending state.

Possible features to change this:

  1. Option to not create the order before the payment is completed. I can see this could lead to error in the order if the stock has changed in the timeframe between initiating and completion of the payment.
  2. Creating a cron job checking pending orders paid by the Bambora option and cancels the orders that have timed out.
AllanWLie commented 6 years ago

Hi @mysil2

Thank you for reporting this issue. We will look into the issue and a fix might be added to a future release.

Best regards Allan - Bambora