← Back to release summary

PaymentDetailsModifier.data

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

Summary

Need to support modifiers with the same identifier but different data. One use case for this is to support card payments with different modifiers for credit vs. debit cards. This change adds the PaymentDetailsModifier.data field to supply the different data.

Standards & signals

Docs: https://developer.mozilla.org/en-US/docs/Web/API/PaymentRequest/PaymentRequest

View on chromestatus.com