Contents

ApplePaySession

A session object for managing the payment process on the web.

Declaration

interface ApplePaySession

Mentioned 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

Handling coupons

Handling shipping contact updates

Handling shipping method updates

Handling payment authorization

Ending the session

Displaying an Apple Pay setup button

Status code constants

See Also

Apple Pay session