fixed address

This commit is contained in:
Edward Yang 2022-07-04 18:02:53 +08:00
parent 6cbd4d80de
commit c4c2f81478
1 changed files with 4 additions and 4 deletions

View File

@ -77,22 +77,22 @@ class CheckoutService
private function updateShippingAddressId($shippingAddressId)
{
$this->cart->update(['shipping_address_id', $shippingAddressId]);
$this->cart->update(['shipping_address_id' => $shippingAddressId]);
}
private function updatePaymentAddressId($paymentAddressId)
{
$this->cart->update(['payment_address_id', $paymentAddressId]);
$this->cart->update(['payment_address_id' => $paymentAddressId]);
}
private function updateShippingMethod($shippingMethod)
{
$this->cart->update(['shipping_method_code', $shippingMethod]);
$this->cart->update(['shipping_method_code' => $shippingMethod]);
}
private function updatePaymentMethod($paymentMethod)
{
$this->cart->update(['payment_method_code', $paymentMethod]);
$this->cart->update(['payment_method_code' => $paymentMethod]);
}
/**