Applies to: Web Payments SDK
Learn about digital wallet payment methods built with the Web Payments SDK.
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.
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 Google Pay and Card payment methods:
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.
Did you know?
Apple Pay and Google Pay already comply with Strong Customer Authentication (SCA) regulations so you don't need to implement SCA for either digital wallet.