Skip to main content

Basic usage

Requests a payment nonce for a payment card stored in an Apple Pay digital wallet.

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

export default function MyApp() {
return (
<PaymentForm>
<ApplePay />
</PaymentForm>
);
}

info

This payment method will only render on Safari browsers that support Apple Pay.

This is how will looks like on Safari:

Safari