|
|
@@ -522,6 +522,7 @@ class CheckoutProcessor implements ProcessorInterface
|
|
|
$output->billingCity = (string) ($billingAddress->city ?? '');
|
|
|
$output->billingPostcode = (string) ($billingAddress->postcode ?? '');
|
|
|
$output->billingPhoneNumber = (string) ($billingAddress->phone ?? '');
|
|
|
+ $output->billingAddressId = $billingAddress->id;
|
|
|
}
|
|
|
|
|
|
if ($shippingAddress) {
|
|
|
@@ -535,6 +536,7 @@ class CheckoutProcessor implements ProcessorInterface
|
|
|
$output->shippingCity = (string) ($shippingAddress->city ?? '');
|
|
|
$output->shippingPostcode = (string) ($shippingAddress->postcode ?? '');
|
|
|
$output->shippingPhoneNumber = (string) ($shippingAddress->phone ?? '');
|
|
|
+ $output->shippingAddressId = $shippingAddress->id;
|
|
|
}
|
|
|
|
|
|
return $output;
|
|
|
@@ -564,6 +566,7 @@ class CheckoutProcessor implements ProcessorInterface
|
|
|
$output->billingCity = $billingAddress->city;
|
|
|
$output->billingPostcode = $billingAddress->postcode;
|
|
|
$output->billingPhoneNumber = $billingAddress->phone;
|
|
|
+ $output->billingId = $billingAddress->id;
|
|
|
}
|
|
|
|
|
|
$shippingAddress = $cart->shipping_address;
|
|
|
@@ -578,6 +581,7 @@ class CheckoutProcessor implements ProcessorInterface
|
|
|
$output->shippingCity = $shippingAddress->city;
|
|
|
$output->shippingPostcode = $shippingAddress->postcode;
|
|
|
$output->shippingPhoneNumber = $shippingAddress->phone;
|
|
|
+ $output->shippingId = $shippingAddress->id;
|
|
|
}
|
|
|
|
|
|
$output->success = true;
|