From fb5d8f6b8fd5f6c704ab88e0bce37ebf587f6bcc Mon Sep 17 00:00:00 2001 From: Nigel Baillie Date: Fri, 2 Feb 2024 10:54:10 +0900 Subject: [PATCH] fixer --- includes/class-wc-gateway-komoju-ipn-handler.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/includes/class-wc-gateway-komoju-ipn-handler.php b/includes/class-wc-gateway-komoju-ipn-handler.php index f00ec0f..592ba23 100644 --- a/includes/class-wc-gateway-komoju-ipn-handler.php +++ b/includes/class-wc-gateway-komoju-ipn-handler.php @@ -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; } @@ -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; }