From 4feb359ca09b5caca6b71a08265c3aaefeb3435b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E8=81=AA?= Date: Thu, 24 Sep 2020 15:50:27 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E5=8F=91=E9=80=81=E5=9B=BD=E5=88=AB?= =?UTF-8?q?=E7=A0=81=E4=B8=BA=E5=8F=91=E4=BB=B6=E4=BA=BA=E5=9B=BD=E5=88=AB?= =?UTF-8?q?=E7=A0=81=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/platforms/EccangPlatform.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platforms/EccangPlatform.php b/src/platforms/EccangPlatform.php index 8835c00..f16878c 100644 --- a/src/platforms/EccangPlatform.php +++ b/src/platforms/EccangPlatform.php @@ -243,7 +243,7 @@ protected function formatOrder(Order $orderClass): array return [ "reference_no" => $orderClass->customerOrderNo, "shipping_method" => $orderClass->transportCode, - "country_code" => $orderClass->shipper->countryCode, + "country_code" => $orderClass->recipient->countryCode, "order_weight" => $orderClass->package->weight, "order_pieces" => $orderClass->package->declareWorth, "is_return" => $orderClass->isReturn,