Closed Grezvany13 closed 2 years ago
And since the message clearly states that Mollie changes the status of the order to "Shipped" it seems very unlikely that another plugin causes the issue.
shipAndCaptureOrderAtMollie
is only called after the WooCommerce order is set to the status Completed
. So it's more likely there is an external factor setting the order status to Completed
which then triggers it.
When in doubt, please reach out to the support from here: https://mollie.inpsyde.com/docs/request-support/
Thanks!
After a client completes the order through Mollie, the order status gets updates correctly to "Pending", but a couple of minutes later it gets updates to "Shipped" and therefor is set to completed by Woocommerce.
However the order is not shipped yet and most certainly not complete. Completion is handled by an external CRM, however since the order is already set to Complete it never reaches the CRM (which pulls orders after payment, but before completion).
The issue seems to be caused by the
shipAndCaptureOrderAtMollie
method, which should never be called. https://github.com/mollie/WooCommerce/blob/0ec01f2001f8fd80aae1e960c53155ffda96e915/src/Payment/PaymentModule.php#L374-L378Adding
add_option('mollie-payments-for-woocommerce_disableShipOrderAtMollie', '1');
doesn't seem to prevent this from happening. And since the message clearly states that Mollie changes the status of the order to "Shipped" it seems very unlikely that another plugin causes the issue. During our testing (before June 1st) with live payments we didn't see this issue and all orders were handled correctly. After that we see all orders being completed automatically due to Mollie updating the orders to shipped.All products are physical products (simple or variable, non are downloads or virtual). And the issue occurs to all payments through Mollie, independent of the provider used.
Is this a bug, or is a(nother) setting which we're missing?
Status Report