Hey everyone! I'm building a checkout flow for a ...
# support
s
Hey everyone! I'm building a checkout flow for a headless website, and am having trouble getting the taxes to update. I expected to see the update when sending a PATCH request to update the order with the user provided shipping address. I'm grabbing my state and country ids from the solidus API. I have three tax rules set in my admin. One based on State and the others are by country. One thing I've noticed is that the "state_name" field always comes back as null, while all the other fields (state_id, state_text, state, and all the country related fields) update. Could this be part of the issue? Any advice? Thanks!
j
No, state_name is used for countries where the states are not in the database, so as long as you have either state_name or state_id or the country doesn't have states, you are fine there.