Allow PaymentRequest.show() to take optional detailsPromise

Some merchant sites may not know the total or line items at the time of attempting to open the payment sheet with show(). This feature is a way to signal that the browser should show a spinner or equivalent and wait on allowing end user interaction until an update.

Demos

Specification

Working draft or equivalent

Status in Chromium

Blink>Payments


Enabled by default (tracking bug) in:

  • Chrome for desktop release 75
  • Chrome for Android release 75
  • Chrome for iOS release 67

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

Owner

Last updated on 2019-04-22