commerce icon indicating copy to clipboard operation
commerce copied to clipboard

Payment ItemBag needs to be updated to send line item prices with discounts built in

Open lukeholder opened this issue 5 years ago • 0 comments

https://github.com/craftcms/commerce-omnipay/blob/01b24c10cd047af5cd20bf5caafb330ec685e237/src/base/Gateway.php#L661-L722

The above need to be updated for Commerce 3.1 that spread all discounts across line items. This means we can send just the line items price (after adjustments) to the itembag in gateway requests.

lukeholder avatar May 27 '20 03:05 lukeholder