coreshop / CoreShop

CoreShop - Pimcore enhanced eCommerce
http://www.coreshop.org
Other
275 stars 157 forks source link

Late payment of a cancelled order leads to success page #2529

Closed EinShoppo closed 1 month ago

EinShoppo commented 8 months ago
Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no

Hi @dpfaffenbauer,

I have discovered a bug that affects canceled orders.

Steps to reproduce:

Current behavior:

Expected behavior:

What do you think about this? I think it's very unfortunate if the customer is redirected to the success page but the order has already been canceled and will never be processed. It is certainly an edge case, but when it occurs, it leads to a real problem.

https://github.com/coreshop/CoreShop/blob/0dbc97328586f3bfc41ba02831df1ae5c49c6792/src/CoreShop/Bundle/FrontendBundle/Controller/CheckoutController.php#L232C1-L247C10

Best regards

dpfaffenbauer commented 1 month ago

@EinShoppo we don't really see that as a use-case, you have your cancellation time very low whereas that should be used for within days.