Web Payments SDK Digital Wallets
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 Apple Pay and Card payment methods:
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.
If you need more assistance, contact Developer Support or ask for help in the Developer Forums.