有什么方法可以在taxjar中计算运输成本?

我想使用taxjar计算2个邮政编码之间的运输费用。 我正在检查taxjar api文档,并且在请求中看到了运输费用。 但是我想计算从1到2的运输成本。 如果有人使用taxjar,请帮助我。

$order_taxes = $client->taxForOrder([
  'from_country' => 'US','from_zip' => '92093','from_state' => 'CA','from_city' => 'La Jolla','from_street' => '9500 Gilman Drive','to_country' => 'US','to_zip' => '90002','to_state' => 'CA','to_city' => 'Los Angeles','to_street' => '1335 E 103rd St','amount' => 15,'shipping' => 1.5,'nexus_addresses' => [
    [
      'id' => 'Main Location','country' => 'US','zip' => '92093','state' => 'CA','city' => 'La Jolla','street' => '9500 Gilman Drive',]
  ],'line_items' => [
    [
      'id' => '1','quantity' => 1,'product_tax_code' => '20010','unit_price' => 15,'discount' => 0
    ]
  ]
]);
baiyanhua_2005 回答:有什么方法可以在taxjar中计算运输成本?

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/2812400.html

大家都在问