From 1f44791384009b2853b3741e99e2dccb35cd089a Mon Sep 17 00:00:00 2001 From: Edward Yang Date: Mon, 29 Aug 2022 13:50:53 +0800 Subject: [PATCH] fixed checkout confirm --- beike/Shop/Services/CheckoutService.php | 1 + 1 file changed, 1 insertion(+) diff --git a/beike/Shop/Services/CheckoutService.php b/beike/Shop/Services/CheckoutService.php index 63841709..1bf11e0c 100644 --- a/beike/Shop/Services/CheckoutService.php +++ b/beike/Shop/Services/CheckoutService.php @@ -177,6 +177,7 @@ class CheckoutService 'shipping_method_code' => $this->cart->shipping_method_code, 'payment_address_id' => $this->cart->payment_address_id, 'payment_method_code' => $this->cart->payment_method_code, + 'same_as_shipping_address' => $this->cart->shipping_address_id == $this->cart->payment_address_id, ], 'country_id' => (int)system_setting('base.country_id'), 'customer_id' => $customer->id ?? null,