Shipping value is required for "taxes" endpoint

Created on 13 June 2024, 11 months ago

Problem/Motivation

API submissions to the taxes endpoint require the "shipping" argument, they fail without it. Currently the module does not always pass this value.

Steps to reproduce

Submit an API request that doesn't have a shipping item, an error will be logged.

Proposed resolution

In _uc_taxjar_prepare_request_body() give "shipping" a default of 0.

Remaining tasks

Fix the bug.

User interface changes

n/a

API changes

n/a

Data model changes

n/a

πŸ› Bug report
Status

Needs review

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States DamienMcKenna NH, USA

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

Comments & Activities

Production build 0.71.5 2024