Skip to content

Commit

Permalink
fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
Resonious committed Feb 2, 2024
1 parent dd4476f commit fb5d8f6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions includes/class-wc-gateway-komoju-ipn-handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,14 @@ public function check_response($_handled)
$payment_url = $order->get_checkout_payment_url(false);
wp_redirect($payment_url);
}

return true;
}

// Quick setup POST from KOMOJU
if (isset($_POST['secret_key'])) {
$this->quick_setup($_POST);

return true;
}

Expand All @@ -78,6 +80,7 @@ public function check_response($_handled)

// NOTE: direct function call doesn't work
do_action('valid_komoju_standard_ipn_request', $webhookEvent);

return true;
}

Expand Down

0 comments on commit fb5d8f6

Please sign in to comment.