We have the problem that we receive some orders in the status "Canceled". Our analysis has shown that this is related to a security mechanism when the customer is in the checkout process and browses the store through multiple tabs.
We successfully receive the money from the customer, but the order is canceled.
to reproduce:
go to a PDP page and add the product to cart
open the PDP page in another tab in the same browser
with either tab complete the magento checkout with a post checkout payment selected (ex: online_bank_transfer_p24, Paypal)
redirect to the payment site, but do not complete the payment yet
switch to the other tab and continue to shop. The original order status will be set to cancelled in Magento
switch to payment tab and complete the payment process. The cancelled order is credited with a successful payment.
A good portion of the logic involved can currently be found in Payone_Core_Model_Handler_Cancellation::handle
brainstorming for magento-side solutions
uncancel the order (risky)
recognise order is cancelled and duplicate a new one (possible stock conflicts? order id disconnects)
do not cancel pending orders until manually cancelled or timed out
notify customer session that a payment is pending or successfully processed with same quote id
We have the problem that we receive some orders in the status "Canceled". Our analysis has shown that this is related to a security mechanism when the customer is in the checkout process and browses the store through multiple tabs.
We successfully receive the money from the customer, but the order is canceled.
to reproduce:
A good portion of the logic involved can currently be found in Payone_Core_Model_Handler_Cancellation::handle
brainstorming for magento-side solutions
brainstorming for payone-side solutions
@fjbender & @igloominusx fyi