update checkout order confirm
This commit is contained in:
parent
33644b40c9
commit
c455e5a949
|
|
@ -115,7 +115,7 @@ class CheckoutService
|
||||||
StateMachineService::getInstance($order)->changeStatus(StateMachineService::UNPAID, '', true);
|
StateMachineService::getInstance($order)->changeStatus(StateMachineService::UNPAID, '', true);
|
||||||
CartRepo::clearSelectedCartProducts($customer);
|
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();
|
DB::commit();
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue