Apple Pay

Apple Pay

Apple Pay is a digital payment service that enables secure checkout on websites through Safari and supported browsers. Scripts load the Apple Pay button, present the payment sheet, and process tokenized card transactions without exposing raw payment details to the merchant. Handles biometric authentication via Touch ID or Face ID for payment authorization.

Overview

Apple Pay enables secure, tokenized payment processing directly within web browsers. It appears on e-commerce websites as an alternative checkout method, allowing customers to authorize purchases using Face ID, Touch ID, or device passcode without exposing their actual card numbers to the merchant. Apple Pay on the web is supported in Safari and other browsers that implement the Payment Request API with Apple Pay support.

What This Script Does

Apple Pay integration loads the Apple Pay JS SDK from apple-pay-gateway.apple.com and related Apple domains. The SDK renders the Apple Pay button (the distinctive black button with the Apple logo) and handles the entire payment sheet lifecycle.

When a user taps the Apple Pay button, the SDK invokes the browser's native payment sheet. This sheet runs in a secure, sandboxed context controlled by the operating system — the merchant's JavaScript cannot access the payment sheet contents. The flow works as follows:

  1. The merchant's script creates an ApplePaySession with supported payment networks, merchant capabilities, and transaction details.
  2. Apple's servers validate the merchant identity via a merchant validation URL.
  3. The user authenticates with Face ID, Touch ID, or passcode on their device.
  4. Apple returns a payment token containing a Device Account Number (DAN) and a dynamic security code — not the actual card number.
  5. The merchant forwards this token to their payment processor for settlement.

Apple Pay does not set tracking cookies. It does not collect browsing behavior, build user profiles, or share data with advertising networks. The only network requests are to Apple's payment gateway for merchant validation and token generation. Session data is ephemeral and scoped to the active payment transaction.

The apple-pay-gateway.apple.com and apple-pay-gateway-nc-pod*.apple.com domains are contacted during the merchant validation handshake. No persistent storage is written to the browser beyond what the merchant's own checkout flow requires.

Consent & Compliance

Apple Pay is classified as essential. It is a payment processing mechanism — a core website function that users explicitly invoke when they choose to pay.

Under the GDPR, payment processing has a clear legal basis: contract performance (Article 6(1)(b)). The user is initiating a purchase, and processing their payment data is necessary to fulfill that contract. No consent banner is required for the Apple Pay scripts themselves.

Under the ePrivacy Directive, Apple Pay qualifies for the strictly necessary exemption. The scripts and any transient storage are required to provide a service explicitly requested by the user (completing a payment). Article 5(3) does not require consent for such access.

Under CCPA/CPRA, Apple Pay does not sell or share personal information. Apple acts as a payment intermediary, and the tokenized transaction data is used solely for payment processing. Apple's privacy architecture specifically prevents merchants from receiving the user's actual card details.

Should You Block This Without Consent?

No. Apple Pay is a payment processing service that users explicitly invoke. Its scripts are strictly necessary for completing transactions and do not perform any tracking, profiling, or advertising. Blocking Apple Pay behind a consent wall would prevent customers from completing purchases, which is both a usability failure and unnecessary from a privacy standpoint.

Is Apple Pay GDPR compliant?

Apple Pay's trackers are classified as essential (strictly necessary), so they are generally exempt from prior consent under the GDPR. You should still list them in your cookie policy and privacy notice so visitors know they are there.

Visit website

Consent Categories

Also Known As

Apple Pay webApple Pay JSApple WalletSafari paymentsApple checkout

Industries

Computers Electronics and TechnologyComputer Hardware

Tracked Domains (2)

apple-pay-gateway.apple.comEssential

apple-pay-gateway.apple.com is an essential domain operated by Apple Pay, used to keep the site working, including security, load balancing, and sessions.

apple-pay-gateway-cert.apple.comEssential

apple-pay-gateway-cert.apple.com is an essential domain operated by Apple Pay, used to keep the site working, including security, load balancing, and sessions.

Frequently Asked Questions

Other Apple Products

Related Vendors

Apple Maps JS
Apple Maps JS
Apple Maps JS is Apple's JavaScript mapping framework for embedding interactive maps on websites. Scripts load map tiles, location pins, and routing data from Apple's MapKit servers to render navigable maps within web pages. Requires a MapKit JS token for authentication but does not set tracking cookies or collect behavioral analytics data.
Sign in with Apple
Sign in with Apple
Sign in with Apple is an OAuth-based authentication service that lets users log into websites using their Apple ID with built-in privacy features. Scripts load the Apple authentication button and handle secure token exchange. Supports email relay to hide user email addresses from websites, and stores session tokens to maintain login state.
Microsoft Azure AD
Microsoft Azure AD
Microsoft Azure AD (now Microsoft Entra ID) is a cloud identity and access management service for single sign-on and user authentication on websites. Scripts load the Microsoft Authentication Library to handle OAuth flows, display login prompts, and manage access tokens. Stores authentication cookies and session tokens to maintain user login state across visits.
Amazon Cognito
Amazon Cognito
Amazon Cognito is a user authentication and identity management service from AWS. Scripts load the Cognito SDK to handle user registration, login, multi-factor authentication, and OAuth federation with social identity providers. Stores JWT tokens and session cookies in the browser to maintain authenticated state across page navigation and app sessions.
Azure CDN
Azure CDN
Azure CDN is Microsoft's content delivery network that caches and serves website assets from globally distributed edge servers. Delivers HTML, CSS, JavaScript, images, and media to visitors from the nearest edge location to reduce latency. No tracking or advertising functionality — operates purely as transparent content delivery infrastructure.
Amazon Pay
Amazon Pay
Amazon Pay is a digital payment service that lets customers check out on third-party websites using their Amazon account credentials. Scripts load the Amazon Pay button and wallet widget, handle address and payment selection, and process transactions through Amazon's payment infrastructure. Stores session cookies to maintain checkout state and authentication.

Manage consent for Apple Pay

ConsentStack automatically detects and manages Apple Pay trackers so your site stays compliant with global privacy regulations.