Re: [w3c/payment-request] Adding support for private-label credit cards (#662)

@rsolomakhin I think it's totally reasonable to make this event optional for implementors. I also think it could be optional for authors, since modifiers work in every case other than this one. It'd be sad to make every Apple Pay author respond to this event.

Regarding your suggestion of codifying the discount rules in a modifier, I don't think that would work. WebKit doesn't know anything about the account state. We just provide the merchant with the card PAN and let them look up the account status themselves to compute discounts (n.b. this is privacy-preserving since we have a mechanism to ensure that the merchant is the provider of the store card).

-- 
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/662#issuecomment-352103071

Received on Friday, 15 December 2017 20:24:57 UTC