Shopping Hub - Tax Integration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago - last edited 59m ago
Hi,
I'm developing an integration between Shopping Hub and an external tax application. There's a guide here that suggests you need to modify an out of the box sub-flow called "Tax Estimation", this is called by one of the OOB script includes at various points in the cart process.
I'm clear on how I need to modify it to call out to the tax application to get the tax value, but unclear on how to configure the output parameter, it doesn't say in the documentation and I can't find any other information.
Looking at the script includes that call it, it seems like the code expects an array of TaxAmount:
[{ TaxAmount: "1.99" }]
So, in the flow I'm setting, the response data (this is of JSON type) like this:
But when testing it, I'm not seeing the tax value reflected in the cart:
The sub-flow is definitely being called, and I'm not getting any errors in the log. Has anyone done any shopping hub tax integration?
Thanks!
