How we built it

PaymentDetails.error

When the payment request is updated using updateWith, the PaymentDetails can contain a message in the error field that will be displayed to the user. For example, this might commonly be used to explain why goods cannot be shipped to the chosen shipping address. The error field cannot be passed to the PaymentRequest constructor. Doing so will cause a TypeError to be thrown.

Demo

Specification

Editor's draft

Status in Chromium

Behind a flag (launch bug) in:

  • Chrome for Android release 57

Consensus & Standardization

  • No public signals
  • No public signals
  • No public signals
  • Strongly positive

Owners

Last updated on 2016-11-23