← Back to release summary

PaymentMethodChangeEvent

Category
Miscellaneous
Type
New or changed feature
Status
Enabled by default (Chrome 76)
Intent stage
None

Summary

Adds the PaymentMethodChangeEvent and the associated event handler PaymentRequest.onpaymentmethodchange. Handler invocation indicates that the user has changed payment methods. The event can be useful when a merchant re-calculates a total value with method details. For example, merchants can calculate tax by reading billing address information in the event.

Standards & signals

View on chromestatus.com