diff --git a/src/Payment/PaymentModule.php b/src/Payment/PaymentModule.php index d7c92734..7a26d511 100644 --- a/src/Payment/PaymentModule.php +++ b/src/Payment/PaymentModule.php @@ -479,12 +479,6 @@ public function cancelOrderAtMollie($order_id) */ public function handleExpiryDateCancelation($paymentMethods) { - add_action( - 'init', - [$this, 'cancelOrderOnExpiryDate'], - 11, - 2 - ); if (!$this->IsExpiryDateEnabled($paymentMethods)) { as_unschedule_action('mollie_woocommerce_cancel_unpaid_orders'); return;