POS UI extensions now return percentage values for percentage discounts
Shopify POS 11.15 corrects the value returned by Discount.amount for Percentage discounts to match the Cart API contract. Extensions that used this value as money need to update their logic. What changed A 25% discount on a $200 line item now returns amount: 25 . POS 11.14 and earlier returned amount: 50 , the monetary amount deducted.