Allow for more than one order discount in tax calc

Created on 12 January 2015, almost 11 years ago
Updated 18 August 2025, 2 months ago

Currently the module only allows you to have one order discount because the foreach overwrites the $request_body['Discount'] value with each pass. We could either increment this value or pass the items in the $lines[] array. I opted for the latter so that we'd have more data about the discount passed to AvaTax. Patch attached.

πŸ› Bug report
Status

Closed: outdated

Version

4.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States andyg5000 North Carolina, USA

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

Comments & Activities

Production build 0.71.5 2024