PAYONE-GmbH / magento-1

PAYONE Payment Extension for Magento 1
22 stars 40 forks source link

item qtys doubled when using multi tabs and redirect payments #463

Closed igloominusx closed 3 years ago

igloominusx commented 3 years ago

If a post-checkout redirect payment is neither completed nor truly cancelled, use of another browser tab in the shop has all item quantities in the cart doubled. This issue was found using _online_bank_transferp24 but I believe it can apply to any payment that redirects after completing the checkout, such as Paypal

to reproduce:

provided simple fix:

this doesn't change the issue of the customer being able to switch back to the payment tab and completing the purchase, thus having a completed payment on a cancelled order. but that is not in this scope ;-)

fjbender commented 3 years ago

Thanks! I'll let QA check this

fjbender commented 3 years ago

Thank you for your contribution! :)