W3C home > Mailing lists > Public > public-webpayments-specs@w3.org > May 2019

Re: [w3c/payment-handler] Why does a Payment App need to see the line items? (#91)

From: ianbjacobs <notifications@github.com>
Date: Tue, 14 May 2019 12:40:59 -0700
To: w3c/payment-handler <payment-handler@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <w3c/payment-handler/issues/91/492380758@github.com>
@rsolomakhin and @danyao, can the category be optional?

I am not fluent in JS programming, so don't know which would be preferred between:

 * Required category with "undefined", "other", or whatever
 * Optional category.

I propose that we treat it as an error if the merchant provides an undefined enum value.

Ian

-- 
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-handler/issues/91#issuecomment-492380758
Received on Tuesday, 14 May 2019 19:41:21 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 14 May 2019 19:41:22 UTC