Is there anything akin to a presave event or postsave event where we can make a call to TaxJar API to get calculate and report sales tax? I find the integrated tax system impractical at the moment. I would like to create a plugin that can access the existing tax api platforms, but need to know the best insertion points for this.

The onBeforeSaveOrder event runs before all of the adjustments are calculated (including taxes), so it seems like that's what you're looking for.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.