This post is old, but I had the same problem with creating an order programmatically. The tax was not calculated …
We had configured the customer billing address as the default tax base and the country value was “Germany” and it should be “DE” …. We have changed it to the ISO code and now it works fine.
Related Posts:
- WooCommerce: Can’t use wc_get_products for custom REST API endpoints
- Process checkout using WC REST API
- How to build a plugin that supports authenticated POST requests to the REST API from external servers?
- Extend Woocommerce rest api routes fails
- How to filter Post using Meta Data REST API
- How to stop a Gutenberg Block from firing multiple GET Requests?
- Output JSON object with woocommerce products
- Problem with cURL and rest API
- Woo API REST : product variation price is read-only?
- Category Tree In WooCommerce Product API
- How to upload Woocommerce product images via API? [closed]
- How to handle Woocommerce API credentials
- What will make Woocommerce REST API to issue 401 [closed]
- Woocommerce custom endpoints
- Woocommerce REST API – updating an order changes custom tax calculations
- Woocommerce Rest Api Categories problem [closed]
- API returns blank response after installing & uninstalling WP-rest-api plugin
- woocommerce axios react
- Get specific values in Woocommerce Rest API
- wc_get_products() not return the images details
- WooCommerce – Add product with image via REST API
- JWT on Woocommerce cannot work with “Customer” role user
- Woocommerce REST API – add filter to set maximum query per page for product brands [closed]
- WooCommerce – Create multiple product tags via rest api endpoint
- Using the WordPress and WooCommerce REST APIs in the same Node app
- Retrieve Data from Custom Endpoint
- How to solve `Error getting remote image` in woocommerce rest api script?
- Getting in an exception for get product detail by id in woocommerce REST api
- Impossible to create a new WooCommerce customer using Rest API
- Woocommerce API security concerns
- How can I send information when a order is completed to my own POS?
- Woocommerce Rest API: woocommerce_product_invalid_image_id
- WC Booking query bookings with date ranges
- “error_message”: “Sorry, you cannot list resources.” using WooCommerce API
- Woocommerce REST API: creating variations
- Woocommerce REST API not considering discounts and coupons
- WooCommerce REST API endpoints don’t exist
- Fetch products with filter by similar categories at same time
- Send data to external websites when there is an update or create a post
- Auto generating API keys using the Application Authentication Endpoint [closed]
- GET woocommerce order request is not showing meta data [closed]
- Correct function to get the user’s latest Woocommerce Subscription?
- Is it safe to delete from db orphaned posts i.e. whose post_parent no longer exists?
- How to authenticate custom API endpoint in WooCommerce [closed]
- WooCommerce – Hook after Loading Variation in Admin Edit page?
- WooCommerce conditional meta query
- Add a custom button with custom link after add to cart for every product
- Redirect woocommerce single-product page
- Username field is not shown in Woocommerce’s registration contact form
- Woocommerce Membership Expiry Date
- Get WooCommerce product attribute taxonomies in a SQL query on WordPress database
- Show all author products from specific category
- Redirect user to cart page when add to cart button is clicked
- Disable Local Attributes woo commerce
- Problems with varibel price [closed]
- Custom Admin Email Subject for Woocommerce (3.8.0) Orders
- Replacing products on Woocommerce Product Category with Search Results from SearchWP [closed]
- Creating custom permalink tags for WooCommerce
- Add Custom Slug Tags Per Page
- How to override Woocommerce functionality in Reports section?
- how can use woocommerce add to cart popup?
- Woocommerce – Add HTML around Product description [closed]
- Woocommerce emails from gmail not being sent
- lost password link not working for my site
- How to give each category name its own ACF background color?
- Woocommerce cart is not clear after logout
- WooCommerce event works in jQuery but not in JavaScript
- Filter default_content only for products
- Remove Visual Editor and P tags from WooCommerce Taxonomy Descriptions [closed]
- Append woocommerce category to product title globally? [closed]
- Custom fields values not being created
- Adding additional text under the price via product page
- Display WooCommerce product category on shop page (on every product)
- Multisite login – registration is duplicated
- WooCommerce variable product can not add to cart using ajax after updating latest version of WooCommerce
- Create a Search Form that only Searches with WooCommerce Sale Products
- Update WooCommerce Sale Price & Date Based On Attribute Value
- Add quantity of variations together and show it to parent quantity field Woocommerce
- add_post_meta add latest data from meta_value array
- WordPress & Woocommerce variation Price
- Adding country subdomain to an existing website like www.example.com/uk
- Move woocommerce directory
- Hide review form if user has left a comment
- Some html elements displaing in a strange order in WordPress
- Woocommerce: sorting variable product
- Woocommerce price in meta data
- White screen only on some woocommerce products
- How to create woocommerce products list
- add_action don’t updates theme layout when using values from the WordPress customizer
- How can I change my search form to bring up product results, not blog results
- Woocommerce: Unique price for individual basket items
- Add text specifically to order-proceessing-email in WooCommerce
- Disable add to cart button when product is out of stock
- Customizing the add to cart function
- My WordPress site hacked with unwanted popups [closed]
- Woocommerce: Extra added country field not taking value from database
- How to get price of my products show in snippet on google?
- Assigning an orders Custom Field to User Data
- exclude products none sale in Woocommerce
- Which php files, in a WordPress setup, do not need direct web access?