The Square 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 the following topics. 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 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.