Skip to content

Commit

Permalink
Merge pull request #866 from mollie/fix/PIWOO-374
Browse files Browse the repository at this point in the history
[PIWOO-374] Remove cancelOrderOnExpiryDate that runs on init
  • Loading branch information
mmaymo authored Sep 25, 2024
2 parents 688936e + 943125b commit c6e10f6
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/Payment/PaymentModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -481,12 +481,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;
Expand Down

0 comments on commit c6e10f6

Please sign in to comment.