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
You must follow the following guide to use Apple Pay https://developer.squareup.com/docs/web-payments/apple-pay#prerequisites-and-assumptions
info
This payment method will only render on Safari browsers that support Apple Pay.
This is how will looks like on Safari: