Integrate Digital Wallets with the Web Payments SDK

Applies to: Web Payments SDK

Learn about digital wallet payment methods built with the Web Payments SDK.

Link to section

Overview

The Web Payments SDK supports accepting payments from Apple Pay and Google Pay. These digital wallet payment methods share a common code pattern with specific differences described in Take an Apple Pay Payment and Take an Google Pay Payment. Both payment methods are initialized by creating a PaymentRequest that can be used for either payment method.

Link to section

Digital wallet payment methods

The digital wallet payment methods render digital buttons. Any combination of payment methods can be rendered on a single page as shown in the following images:

The digital wallet payment methods let you provide payment request details and expose events to your application so that it can react to a buyer's actions on the digital wallet payment sheet.

Important

To enhance payment security, use the verifyBuyer function to apply Strong Customer Authentication (SCA) and verify the cardholder's identity. SCA should be used for all customer-initiated transactions, including digital wallet payments. If SCA isn't initiated for digital wallet payments, the transactions might be declined due to a lack of authentication.

Link to section

See also