From c455e5a94923322913b5d186576251d97c0bfeeb Mon Sep 17 00:00:00 2001 From: Edward Yang Date: Mon, 6 Feb 2023 16:09:51 +0800 Subject: [PATCH] update checkout order confirm --- beike/Shop/Services/CheckoutService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beike/Shop/Services/CheckoutService.php b/beike/Shop/Services/CheckoutService.php index 9c989358..9fb755ca 100644 --- a/beike/Shop/Services/CheckoutService.php +++ b/beike/Shop/Services/CheckoutService.php @@ -115,7 +115,7 @@ class CheckoutService StateMachineService::getInstance($order)->changeStatus(StateMachineService::UNPAID, '', true); CartRepo::clearSelectedCartProducts($customer); - hook_action('after_checkout_confirm', ['order' => $order, 'cart' => $this->cart]); + hook_action('checkout.order.confirm.after', ['order' => $order, 'cart' => $this->cart]); DB::commit(); } catch (\Exception $e) {