ApplePaySession
A session object for managing the payment process on the web.
Declaration
interface ApplePaySessionMentioned in
Overview
ApplePaySession is the entry point for Apple Pay on the web. All the steps of the payment process for a single transaction occur in a session.
ApplePaySession belongs to the Apple Pay JS API.
Topics
Determining support for API and payments
Creating an Apple Pay session
Getting merchant validation
Handling payment method updates
onpaymentmethodselectedcompletePaymentMethodSelectionApplePayPaymentMethodUpdateApplePayPaymentMethodSelectedEventApplePayPaymentMethod
Handling coupons
Handling shipping contact updates
onshippingcontactselectedcompleteShippingContactSelectionApplePayShippingContactSelectedEventApplePayShippingContactUpdate
Handling shipping method updates
onshippingmethodselectedcompleteShippingMethodSelectionApplePayShippingMethodSelectedEventApplePayShippingMethodUpdate
Handling payment authorization
onpaymentauthorizedcompletePaymentApplePayPaymentAuthorizedEventApplePayPaymentApplePayPaymentAuthorizationResult