Hello,
I am using a payment plugin which works great only if I refresh the "Thank you for your order" page the email confirmations gets sent again and the order gets back to the C one (Confirmed)
Now the reason it does this is because at the end of the pluginResponseHTMLRecevied, there is a line of code:
$cart->emptyCart();
This makes the cart empty but does not disable the refresh page to change the order status again. Does osmeone know how to fix this?