What It Does
Square Payment Form provides a secure, PCI-compliant, customizable payment experience for accepting debit, credit, or digital wallet payment cards as the first part of a web payment solution.
SqPaymentForm) that renders the card inputs and digital
wallet buttons that make up the payment form and returns a secure payment token. Use the secure payment token
(nonce) with a server component built on the Connect v2 Transaction
API to charge payment sources and provide a complete web payment
Square Payment Form components
To take payments online, websites collect payment information through the client browser then use a server component to create a charge against the payment card.
Developers can define the layout of form components and customize the HTML and CSS classes responsible for rendering Square Payment Form components so the payment form fits seamlessly with existing site branding. The 2 customizable component groups are:
- Card information input fields
- Digital wallet buttons
Learn more about the Requirements and limitations of the
SqPaymentForm library to see if a payment form integration is the right fit for your eCommerce solution.
Customize available payment types
The payment form can be configured to accept only payment cards, only digital wallet payments, or payment cards and digital wallet payments.
Customize payment form styles
SqPaymentForm library replaces application placeholder tags with payment form fields where those tags appear in a
Follow a link below to start building custom solutions with Square Payment Form.