Re: [w3c/payment-request] Support for gift cards and discount codes (#145)

@marcoscaceres Bike-shedding yay! I propose: `checkoutCode` 😬 

+1 to both stories. I agree we can just drop the couponAccepted flag.
"Applying" the coupon is done by the merchant through the line items.
i.e. If the merchant accepts a coupon they can:
  1. Return empty/undefined `couponErrors`
  2. Add a line item to reflect the discount indicating to the user that it was accepted

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/payment-request/issues/145#issuecomment-387423456

Received on Tuesday, 8 May 2018 14:34:13 UTC