buckaroo-it / PrestaShop

Repository containing the PrestaShop Payment Plugin by Buckaroo
1 stars 1 forks source link

when coustomer select go back to shop it creat an order and cancel it #142

Open Frankyet opened 6 months ago

Frankyet commented 6 months ago

when coustomer select order/pay and go to paymentmethode page and select go back to shop it will creat a order an canceled it. This will send a e-mail to customer that order is canceld. If customer select a oyher payment-methode and payed it successful it creat a new order an get e-mails of the order proces. customer is confusing because it had olse a e-mail of canceling.

Beter is not creating a order when customer is cancing the payment. It would be beter to creat a order only when it is payed successful. it also messing tho order page in the backoffice. The Mollie an Pay.nl API is working like that, only creat a order if it is payed. please consider to change this beheavor.

Buckaroo-Rene commented 6 months ago

Hi @Frankyet ,

Thank you for your message. We'll research a bit more on this issue that you are facing. I know that some payment methods require not to use the same order number, so we'll have to research if it is possible to change the current logic.

Best Regards, René

Frankyet commented 6 months ago

I'm just using the Buckaroo API and it's messing up the back office order page with even more uncompleted orders.

image

this order create 5 e-mails to this customer. image

Because there was only one in stock, on subsequent attempts you will see that there is no stock and no stock will be emailed to the customer. even more confusion for the customer

This issue is also related to BP-3431. All this is because it create an order before successful payment. other payment-method API does not have this behaviour, Mollie, pay.nl, PayPal and also native Prestashop method create only a order when there is a successful payment.

Best Regards Frankyet