The order operation service supports tax committing, adjustments, and refunds to third party services (such as Avatax) that support these operations.
This functionality is disabled by default and must be enabled.
All checkout/post checkout tax operations are event driven and asynchronous.
Commit Tax - Commits order tax to tax service provider on checkout completion event. Listens on the
orderOperationsOrderCreatedInput channel and handled by the
Adjust Tax - Adjusts existing tax transaction in the case of order cancellations. Listens on the
orderOperationsFulfillmentCancelledInput channel and handled by the
Refund Tax - Submits tax refund transactions to the third party tax service. Listens on the
orderOperationsReturnConfirmedInput channel and handled by the
First, a tax provider bean supporting the desired tax operations is required to be defined in the order operations service.
Each tax operation must individually be enabled by setting the following properties to true. All of the following are boolean properties.
Enables tax transaction commit
Enables tax transaction adjustments
Enables tax transaction refunds