From 4b88ff456eff6728bbc393f982482b748e91ba2f Mon Sep 17 00:00:00 2001 From: Mark Rees Date: Tue, 1 Aug 2023 11:41:55 +0200 Subject: [PATCH] add compatibilty with custom customer attributes --- Service/Magento/CreateOrderFromSubscription.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Service/Magento/CreateOrderFromSubscription.php b/Service/Magento/CreateOrderFromSubscription.php index edc7c98..e41fc18 100644 --- a/Service/Magento/CreateOrderFromSubscription.php +++ b/Service/Magento/CreateOrderFromSubscription.php @@ -185,6 +185,7 @@ private function formatAddress($address): AddressInterface $quoteAddress->setSuffix($address->getSuffix()); $quoteAddress->setPrefix($address->getPrefix()); $quoteAddress->setRegionId($address->getRegionId()); + $quoteAddress->setCustomAttributes($address->getCustomAttributes()); return $quoteAddress; }