taxjar / taxjar-woocommerce-plugin

WooCommerce Sales Tax Plugin by TaxJar
http://www.taxjar.com/woocommerce-sales-tax-plugin/
GNU General Public License v2.0
28 stars 29 forks source link

Support local pickup on orders #234

Closed dallendalton closed 2 years ago

dallendalton commented 2 years ago

The plugin used the store address as the to_address when using local pickup shipping method in cart and checkout. However. This was not supported with an order created in the admin dashboard or through the WooCommerce REST API.

Steps to Reproduce

  1. Create a new order in the admin dashboard and use an address different than the store address.
  2. Add local pickup shipping method.
  3. Recalculate totals
  4. Address used in calculation (can be found in logs) will be the shipping address not the store address.

Expected Result

After applying the PR, in step for the to address will be the store address.

Click-Test Versions

Specs Passing