PaymentRequestEvent.changePaymentMethod()

Enables payment handlers to get the updated total from the merchant in response to a change in payment instrument selected within the payment handler. This fires the PaymentMethodChangeEvent on the merchant website.

For example, if the user selects a debit card with a billing address in France, the merchant may need to add value added tax to the total.

Demo

Documentation

Specification

Editor's draft

Status in Chromium

Blink>Payments


Enabled by default (tracking bug) in:

  • Chrome for desktop release 76
  • Chrome for Android release 76

Consensus & Standardization

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

  • No public signals
  • No public signals
  • No public signals
  • Positive

Owner

Last updated on 2019-05-23