Skip to content
This repository was archived by the owner on May 28, 2023. It is now read-only.

Commit 73efbb9

Browse files
authored
Merge pull request #319 from francescosalvi/bugfix/316-region
Provide shipping and billing region
2 parents 8ddff84 + c59372f commit 73efbb9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/platform/magento2/o2m.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ function processSingleOrder (orderData, config, job, done, logger = console) {
181181
'email': billingAddr.email,
182182
'regionId': mappedBillingRegion.regionId,
183183
'regionCode': mappedBillingRegion.regionCode,
184+
'region': billingAddr.region,
184185
'company': billingAddr.company,
185186
'vatId': billingAddr.vat_id
186187
},
@@ -202,6 +203,7 @@ function processSingleOrder (orderData, config, job, done, logger = console) {
202203
'email': shippingAddr.email,
203204
'regionId': mappedShippingRegion.regionId,
204205
'regionCode': mappedShippingRegion.regionCode,
206+
'region': shippingAddr.region,
205207
'company': shippingAddr.company
206208
}
207209
} else {

0 commit comments

Comments
 (0)