0

I'm querying the order, and from the order I'm looping through the line items returned from getLineItems().

When I then dump the line item, calling getAdjustments(), the sourceSnapshot never seems to be populated. I've only seen it appear on one occasion and now I can't reproduce it.

I've even created my own adjuster and added some information to the sourceSnapshot, in the hope that I can get the information to populate. Still nothing appears.

The reason for needing it, is that I want to store the tax code which is used on QuickBooks in the 'code' field of the tax rate, so that I can pass it to QuickBooks in an API call.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.