Order creation and Payment
An order is already created and an oder- confirmation email is already sent as soon as you click “Pay” in the checkout-page. In my opinion these 2 things should be done only after the payment is successful.
Payment-results from Mollie
There are 5 return-codes that can be received from Mollie:
• Open
• Paid
• Failed
• Cancelled
• Expired
Any of these return-codes result in a Order-confirmation email to the customer. In my opinion the only status that a customer should have a Confirmation-email should be “Paid”. In the cases that the return code is Failed, Cancelled or Expired the order should be deleted, I think. In the current situation Stock is lowered even if there is no paid order etcetera, etcetera.
Also in the “My Orders” screen of the customer are all of these orders visible. And what is even more bad is that they are able to create a invoice, even for the orders that they did not pay???
Also, the return-codes (Status) of the Mollie plug-in are correct shown in the “My Orders” screen of the customer, but not in the Administrator part of EasyStore (EasyStore – Orders).
Payment-results from PayPal
When you are directed to Paypal and you return to the shop without paying an order is created, an order-confirmation email is already sent etcetera, etcetera.