File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
app/code/Magento/Authorizenet/Model Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -332,7 +332,7 @@ protected function buildRequest(\Magento\Framework\DataObject $payment)
332
332
->setXCity ($ billing ->getCity ())
333
333
->setXState ($ billing ->getRegion ())
334
334
->setXZip ($ billing ->getPostcode ())
335
- ->setXCountry ($ billing ->getCountry ())
335
+ ->setXCountry ($ billing ->getCountryId ())
336
336
->setXPhone ($ billing ->getTelephone ())
337
337
->setXFax ($ billing ->getFax ())
338
338
->setXCustId ($ order ->getCustomerId ())
@@ -352,7 +352,7 @@ protected function buildRequest(\Magento\Framework\DataObject $payment)
352
352
->setXShipToCity ($ shipping ->getCity ())
353
353
->setXShipToState ($ shipping ->getRegion ())
354
354
->setXShipToZip ($ shipping ->getPostcode ())
355
- ->setXShipToCountry ($ shipping ->getCountry ());
355
+ ->setXShipToCountry ($ shipping ->getCountryId ());
356
356
}
357
357
358
358
$ request ->setXPoNum ($ payment ->getPoNumber ())
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ public function setDataFromOrder(
123
123
->setXCity (strval ($ billing ->getCity ()))
124
124
->setXState (strval ($ billing ->getRegion ()))
125
125
->setXZip (strval ($ billing ->getPostcode ()))
126
- ->setXCountry (strval ($ billing ->getCountry ()))
126
+ ->setXCountry (strval ($ billing ->getCountryId ()))
127
127
->setXPhone (strval ($ billing ->getTelephone ()))
128
128
->setXFax (strval ($ billing ->getFax ()))
129
129
->setXCustId (strval ($ billing ->getCustomerId ()))
@@ -151,7 +151,7 @@ public function setDataFromOrder(
151
151
)->setXShipToZip (
152
152
strval ($ shipping ->getPostcode ())
153
153
)->setXShipToCountry (
154
- strval ($ shipping ->getCountry ())
154
+ strval ($ shipping ->getCountryId ())
155
155
);
156
156
}
157
157
You can’t perform that action at this time.
0 commit comments