Portfolio Supported AIs Solutions Tasks Email Archive Bring Your Own Code Integrations Pricing

Get Started

ChatGPT

ChatGPT

Start directly →

Ready
Claude

Claude

Directory Connector →

Ready
Mistral

Mistral

Directory Connector →

Ready

Dashboard Always available
← All articles

square payments website

Square Payments on Your Website: Options, Fees, Setup

How to accept Square payments on your website: payment forms, checkout links, US fees and setup, plus how your AI assistant builds the site or app around them through the WebsitePublisher connector.

You can take Square payments on a website in four main ways: a hosted checkout page, a shareable payment link, an embedded card form, or invoices and subscriptions. If you run WordPress, a form plugin can also connect to Square. Which one fits depends on how much of the page you want to control and how much code you can live with. This guide walks through each route, the US fees, and the checks to make before you launch. It also shows how to build the site or app around the payment with the AI assistant you already use, on a full-stack platform where the backend is already in place.

TL;DR

  • Square gives you hosted checkout, payment links, embedded card fields (the Web Payments SDK), invoices and subscriptions. Hosted options need little or no code. Embedded fields need server code.
  • In the US, Square’s published online card rate is 2.9% + 30¢ through the API or on Plus and Premium, and 3.3% + 30¢ on the Free plan. Check Square’s own pricing page before you commit.
  • Square pays out in the seller’s currency. One account is tied to one country and one currency, so plan for that if you sell abroad.
  • WebsitePublisher is the AI web platform where your AI assistant (ChatGPT, Claude, Gemini, Grok and others) builds and publishes websites and apps through the WebsitePublisher connector, with hosting, forms, email, payments and data already built in.

Table of Contents

Four ways to take Square payments on a site

Square is a payment processor. It moves the money and keeps card data safe. The page the customer sees is a separate piece, and you choose how to build it. According to Payments30’s review of Square’s documentation, Square offers these building blocks for a website:

  1. Hosted checkout (Checkout API). Your site sends the buyer to a Square-branded payment page and the buyer returns after paying. You write very little code.
  2. Payment Links. You create a link for an item, a donation or a service and share it by button, email or QR code. No site changes are needed beyond placing the link.
  3. Embedded card fields (Web Payments SDK). The card form sits inside your own page. Card details are turned into a one-time token in the browser, and your server sends that token to Square to take the payment.
  4. Invoices and subscriptions. Square also has an Invoices API and a Subscriptions API for billing after the fact or on a schedule.

There is also a no-code route. Square Online Checkout is a one-page site for a single item that you share by link, button or QR code, as described in FitSmallBusiness’s setup guide. It works for one product, one donation or one class. It does not give you a full website or app around it.

Which route fits which job

You want to… Best fit
Sell one thing fast, with no site changes Payment Link or Square Online Checkout
Keep the buyer on your brand all the way Embedded card fields
Send a bill after the work is done Invoice
Charge every month Subscriptions
Run a full shop, bookings or a member area A real site or app with a backend

The last row is where most small businesses end up. A payment button is one piece. You also need pages, a way to store orders, confirmation emails, forms and somewhere to host it all.

What a Square payment form actually involves

People searching for a “Square payment form” usually mean one of two things. Either they want a card field on a page, or they want a form (a booking, an order, a registration) that charges the customer when it is submitted.

The embedded card form

The embedded form is the Web Payments SDK. It runs in the browser, collects the card number, expiry, CVV and postal code, and returns a token. Your server then creates the payment with that token.

According to Payments30, this follows the common tokenization pattern. Card details become an encrypted one-time token in the browser, a buyer-verification step runs where strong customer authentication is required, and your server posts the token to the Payments API. The raw card number never touches your server.

Browser tokenization flow keeps raw card details off-server

That design is why the form is safe to embed. It is also why you cannot do it with front-end code alone. The server step needs your Square access token, and that token must never sit in the page.

A form that charges on submit

If you run WordPress, a form plugin can do the work. Gravity Forms’ official documentation says a Square-compatible form needs a Pricing field, a Square field (the card input and cardholder name, hosted on Square’s servers), a Name field, an Email field and an Address field. Its Square Add-On is available with Pro, Elite or Nonprofit licenses and supports one-time payments, subscriptions, authorize-and-capture and refunds from the dashboard.

That is a fine path if you already have a WordPress site and a license. It adds plugin maintenance, updates and hosting to your list.

A form that charges on submit

Square fees for website payments in the US

Fees are the second thing people check, so here are the published US figures. Rates change, so read them as a snapshot and confirm them on Square’s pricing page before you decide.

According to PayoutPrism’s 2026 fee guide, checked 23 October 2026:

Payment type Published US rate
Online and invoice card payments, Square Free plan 3.3% + 30¢
Online and invoice card payments, Plus and Premium 2.9% + 30¢
Card payments through the API on your own site, every plan 2.9% + 30¢
Manual entry or card on file 3.5% + 15¢
ACH bank transfer 1%, $1 minimum (fee cap on some plans and routes)
Afterpay 6% + 30¢

Cards issued outside the US add a 1.5% fee, per the same guide.

Two more points from Gravity Forms’ 2026 guide: Square charges no monthly account fee just to accept online payments, and no chargeback fee.

A worked example

Say you sell a $100 service through your own site’s API integration. At 2.9% + 30¢, the fee is $2.90 plus $0.30, so $3.20. You keep $96.80. If you use a payment link on the Free plan at 3.3% + 30¢, the fee is $3.30 plus $0.30, so $3.60, and you keep $96.40. A 40¢ gap per $100 sale adds up once you have volume, so decide on the route before you build.

Check these before you build

A few limits catch people after the site is live.

  • Country and currency. According to Payments30, an account’s country sets its currency, so charging in other currencies is not available. Selling in several currencies means a Square account per region.
  • US business use. Square’s US Payment Terms say the payment services are for business purposes in the 50 states and the District of Columbia, and list business types that are not supported. Read that list if your business is unusual.
  • Test mode. Square’s sandbox does not accept real card numbers. WPEasyPay’s testing guide lists the standard test card 4111 1111 1111 1111 with CVV 111 and a future expiry. Run a full test order before you share the page.
  • Developer scope. Square’s developer platform has more than 20 APIs and over 100 endpoints, with backend SDKs for Python, Node.js, Ruby, PHP, Java and .NET, per Payments30. That is plenty of power. It is also a lot to learn if you only need a checkout.

Build the site and app around the payment

A payment form is the easy part. The harder part is everything around it: the product pages, the order record, the thank-you email, the forms, the login for returning customers. Many AI site builders generate pages and stop there. You then wire the rest together yourself.

WebsitePublisher is the AI web platform built for the whole job. It is full-stack: hosting, auth, payments, forms, email, uploads and data are already built in. Your AI assistant (ChatGPT, Claude, Gemini, Grok, Copilot, Cursor, Mistral and others) builds and publishes websites and apps through the WebsitePublisher connector. That connector uses MCP, the Model Context Protocol, the open standard that lets an AI assistant use outside tools. You talk, the assistant builds, and the site runs on the backend that is already there.

Here is what that looks like for a business that wants to get paid online.

  1. Connect your AI assistant. Sign in to WebsitePublisher and add the connector in the assistant you already use. There is nothing to install.
  2. Describe what you sell. Tell the assistant: “I want to build a website with a shop for my candles, with a checkout, order confirmation emails and a contact form.” It builds the pages and the backend pieces together.
  3. Use the built-in payments and integrations. Your assistant snaps together tested integrations, 140+ of them, instead of generating untested glue code. Payments (Stripe, PayPal, Mollie and others), email and lead capture are part of that set. Square is not one of the built-in integrations, so to use Square, create a Payment Link or a Square Online Checkout link in your Square Dashboard and place it on your pages.
  4. Edit in the browser. The visual editor lets you change text and design yourself without asking the AI to regenerate the page.
  5. Go live. Every change on WebsitePublisher is live immediately. There is no separate deploy step.

Project memory and task history carry across sessions and assistants. If you start in ChatGPT and move to Claude later, the context comes with you.

For the payment step itself, our guides cover how to accept payments on a website, Stripe checkout for small teams and PayPal buttons. For recurring billing, read how to set up subscription payments on a website.

Use a hosted checkout or payment link when:

  • you sell one or a few items;
  • you want the least code and the fastest start;
  • a Square-branded payment page is fine for your customers.

Use an embedded form when:

  • the checkout must match your brand;
  • you have a server that can hold your Square access token safely;
  • you want the buyer to stay on your page from cart to confirmation.

In both cases, keep the money step separate from the rest of your site. Pages, content and design change often. The payment flow should change rarely and always be tested after an edit. Because changes on WebsitePublisher go live immediately, run a test order after every change to a page that holds a payment.

Who should go full-stack

A full-stack platform pays off when your site is more than a brochure:

  • Freelancers who need a portfolio with a contact form and a way to take deposits.
  • Small business owners and non-technical founders who need a working site or app, not just pages.
  • Agencies running several client sites, each with its own forms, data and email.
  • Switchers from other AI builders who hit the wall where pages exist but the backend does not.
  • Developers who want a backend without DevOps.

Perspective

Payments are where a lot of AI-built sites quietly fail. The page looks right, the button is there, and behind it nothing is connected. Or the assistant has written payment code that nobody has tested.

We built WebsitePublisher around the opposite idea. The backend comes first: hosting, auth, payments, forms, email, uploads and data are already built in. Your AI assistant builds websites and apps on top of that, and it uses 140+ tested integrations rather than inventing glue code each time.

That matters for anyone who takes money online. You describe the shop, the booking page or the member area. The assistant builds it through the WebsitePublisher connector. You adjust the wording and layout in the visual editor. Every change is live immediately, so what you see is what your customers see.

We also think you should not be locked into one assistant. Project memory and task history stay with the project, so you can move between ChatGPT, Claude, Gemini or Grok and keep going.

Start with a site that is ready to take payments

If you want a site or app that can take payments from day one, start on WebsitePublisher. There is a Free plan to begin with, and you can see every plan on the pricing page. To see how an AI assistant builds on the platform, read about the AI web platform with a real backend or check the supported AI platforms.

Websitepublisher

Tell your assistant what you sell, and it builds the pages, the forms and the backend in one pass.

FAQ

Can I add a Square payment form to any website?

Yes, in principle. Square offers embedded card fields through its Web Payments SDK, hosted checkout pages and shareable payment links, per Payments30. Links need no code. Embedded fields need a server that creates the payment with a token. Payments must be for business use in a supported country.

How much does Square take from a $100 online payment?

On the published US rates, an own-site API card payment costs 2.9% + 30¢, so $3.20 on $100. Online and invoice payments on the Free plan cost 3.3% + 30¢, so $3.60. Figures are from PayoutPrism’s guide and can change, so confirm them on Square’s pricing page.

Does Square have API integration?

Yes. Square’s developer platform lists more than 20 APIs and over 100 endpoints, with backend SDKs for Python, Node.js, Ruby, PHP, Java and .NET, according to Payments30. It also has a free sandbox for testing, so you can try a flow without real cards.

Can I charge in more than one currency?

Not from one account. A Square account’s country sets its currency, per Payments30. If you sell in several regions, you need a Square account for each one.

Do I need to code to get a site that takes payments?

Not with WebsitePublisher. Your AI assistant builds the website or app through the connector, and the backend, including payments with providers such as Stripe, PayPal and Mollie, and forms, is already part of the platform. For Square, you place a payment link from your Square Dashboard on your pages. You edit in the browser, and every change is live immediately.

Sources

Build your site the same way

Describe what you want. Your AI builds and publishes it — with the full stack behind it: data, auth, forms, payments, integrations and hosting.

See how it works →