[w3c/payment-request] PaymentDetailsUpdate needs to include payerErrors (#766)

There is bug in the current spec, whereby merchant can't signal payer-related fixes via `updateWith()`:

```JS
// user tries to fix email
response.onpayerdetailschange = ev => {
   if (!isValidPayerDetails(response)) {
       const payerErrors = getPayerErrors(response);
       // Oh wooops, `payerErrors` doesn't exist on `PaymentDetailsUpdate`
       ev.updateWith({ payerErrors });
   }
}
```

Same applies to `paymentMethod` errors.  

-- 
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/766

Received on Monday, 27 August 2018 10:29:19 UTC