Skip to content

Commit

Permalink
ioss 只有欧洲增加
Browse files Browse the repository at this point in the history
  • Loading branch information
icowan committed Jun 15, 2022
1 parent ffff9df commit db84586
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/platforms/HualeiPlatform.php
Original file line number Diff line number Diff line change
Expand Up @@ -200,14 +200,12 @@ protected function formatOrder(Order $orderClass)
"shipper_postcode" => $orderClass->shipper->zip,
"shipper_country" => $orderClass->shipper->countryCode,
"shipper_telephone" => $orderClass->shipper->phone,
"shipper_taxnotype" => "IOSS",
"shipper_taxno" => $orderClass->taxesNumber
];
if (in_array($orderClass->recipient->countryCode, [
"AT", "BE", "BG", "CY", "HR", "CZ", "DK", "EE", "FI", "FR", "DE", "GR", "HU", "IE", "IT", "LV", "LT", "LU", "MT", "NL", "PL", "PT", "RO", "SK", "SI", "ES", "SE"
])) {

$data["shipper_taxnotype"] = "IO";
$data["shipper_taxnotype"] = "IOSS";
$data["shipper_taxno"] = $orderClass->taxesNumber;

}
Expand Down

0 comments on commit db84586

Please sign in to comment.