TaxJar Transaction Date is sometimes incorrect

Created on 18 May 2022, about 3 years ago
Updated 14 May 2025, 8 days ago

Problem/Motivation

We discovered an issue where the Transaction Date in TaxJar did not match the Commerce Order completion date. The date used for the Transaction Date is the Order Created Date. The problem is that, for Orders that remain in the Cart for a long period of time will have an Order Created Date that may be in a different month from the date at which the Order is paid in full, which is when the Order is sent to TaxJar. That may result in the TaxJar Transaction being classified in the wrong month.

One note is that Commerce includes a Rule that sets the Order Completed Date to the time at which the Order completes checkout, but that Rule fires after the Rule triggers for when the Order is paid in full, so the Order Completed Date will not have been updated before the Order is sent to TaxJar.

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States anemirovsky

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024