Skip to main content

Basic usage

Google Pay supports taking payments via credit cards. Utilizing the PaymentRequest object, you can handle Shipping Option selection, as well as collect Shipping and Billing addresses.

import { GooglePay, PaymentForm } from 'react-square-web-payments-sdk';

export default function MyApp() {
return (
<GooglePay />

Different variations of the Google Pay component are available: