Hey despinoSpecialized, We also have the similar setup, did you find any solution to this?
Post
Replies
Boosts
Views
Activity
Hi All, found a solution to this. Noticed that SFCC is calling calculate hook before and after some of the ApplePayHooks, and Implementation of Avalara Tax system requires condition in this hook as follows:
if (calculateAvalaraTax) {
// Tax Calcuation Logic
}
If Avalara Tax is enabled, the same tax calculation logic should be executed on calculate hook that is being called from SFCC ApplePayHooks. To achieve this, updated the condition as follows:
if (calculateAvalaraTax || (request.httpPath && request.httpPath.indexOf('__SYSTEM__ApplePay') > -1)) {
// Tax Calcuation Logic
}
This solved the issue, hope this helps, thanks!