In the current implementation, a Tax request is performed each time the order is refreshed (via the hook_commerce_cart_order_refresh()).
We should try to limit the number of requests performed.
That would imply finding a way to detect changes, this could improve the performance drastically since we would then be able to completely skip deleting/saving tax line items on each order refresh.

Comments

jsacksick created an issue. See original summary.

jsacksick’s picture

Status: Active » Fixed
StatusFileSize
new11.58 KB

  • jsacksick committed 05a82c3 on 7.x-5.x
    Issue #2837041: Limit the number of requests sent to AvaTax.
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.