PaymentMethodChangeEvent
The Apple Pay extensions to the Payment Request payment change event.
Declaration
interface PaymentMethodChangeEventMentioned in
Overview
The Payment Request API sends a PaymentMethodChangeEvent when the user updates transaction information. For more information on PaymentMethodChangeEvent, see the W3C Payment Request API.
Apple Pay Events
Custom Apple Pay events include information in the methodDetails attribute of the change event:
- ApplePayCouponCodeDetails
A dictionary type that indicates the user updated the coupon code.
- ApplePayPaymentMethod
A dictionary type that indicates that the user changed the payment method.