commerce
commerce copied to clipboard
Payment ItemBag needs to be updated to send line item prices with discounts built in
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.