Skip to main content

Basic usage

Take a Gift Card payment

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

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

We will never store your gift card data. But please use dummy data for testing.


After you hit the Pay with Gift Card button you can see the output on the console.

This is how the form looks like: