Docs & Support

Learn about all the Formidable features and get support from our amazing customer success team.

Add-onseCommerce
Square Forms

Square Forms

Connect your forms with Square to seamlessly process credit card payments. Square forms ensures all transactions are secure, allowing users to complete payments without leaving your site. This makes Square an excellent choice for small business owners and online sellers who need a dependable payment solution to efficiently manage and grow their transactions.

You will need an SSL connection to use Square payment forms.

Download and install

  1. If you haven't already done so, install and activate Formidable Forms.
  2. Once the plugin has been activated, go to your WordPress Dashboard and look for the Formidable menu.
Note: If you use Square with Formidable Forms Lite, Expired, Basic, or Plus license, an application fee of 3% will be charged in addition to the Square fees. Square handles all of this, and no additional steps are required from the customer.
To avoid paying the extra 3% charge, upgrade to Formidable Forms Business or Elite. If you have a grandfathered (lifetime) license, the 3% fee applies to Square payments on every plan. The fee is only collected on one-time payments in US dollars (USD). Subscription payments do not have this fee.

Formidable Forms makes advanced site building simple. Launch forms, directories, dashboards, and custom WordPress apps faster than ever before.

Set up Square integration

Once you have successfully activated Formidable Forms, you need to connect it with your Square account to start accepting payments. It is important to set up your Formidable settings so everything functions properly. If any steps are missed, you might encounter issues such as a blank screen.

  1. Go to Payments Settings. From your WordPress dashboard, go to Formidable → Global Settings → Payments and click the Square tab. Click the Connect button under the Live section to authorize the connection between your forms and Square.
    Access Square in Payments Settings
  2. Access your Square account. You will then be redirected to Square where you can log in to your account. If you don’t already have a Square account, click here to create one. This account is necessary to integrate Square’s payment processing with your forms.
    Log in or Create an account in Square
  3. Authorize Permissions. Approve the necessary permissions for processing Square payments by clicking the Allow button to confirm.
    Square Get Connected
  4. Verify Connection. After allowing permissions, you will be redirected back to the Formidable Global Settings page on your site. To confirm a successful connection, look for a green checkmark with the text Connected next to the Live connection status.
    Square Live Connection Status

Set up Square form to collect payments

After your live environment is configured and verified, you can set up a form to collect payments using Square.

  1. Create a new form or edit an existing one. Include an Email field, a Name field, and an Address field with a country. Add a field for the amount, or plan to type a fixed amount in the action. Then add a Payment field to start processing payments in Square.
    Add a payment field to your Square Form
  2. Go to your form Settings → Actions & Notifications. Hover over the Square card and click Add. This adds a Collect a Payment action to the form.
    Square Forms - Add the Square payment gateway action
  3. Give your Payment action an Action Name for easy reference. This name will only be seen on the back end.
    Square action with numbered circles 3 to 7 on Action Name, the Square card, Payment Type, Description and Amount
  4. Select the Payment Gateway. The Square card must be selected as the payment gateway. It's selected when you add the action from the Square card. This selection connects your form with Square’s payment processing system.
  5. Choose the Payment Type. Your payment type can be one-time or recurring.
    • One-time Payment: If you choose this payment type, the Use Square Merchant Currency option will be preselected. This option will use the currency associated with the connected merchant. Merchants are limited to a single currency.
    • Recurring Payments: For recurring transactions, choose Recurring (1) to set up a Square subscription. Under Recurring Payment Settings, choose how often to charge in the Repeat dropdown (2). Options include Daily, Weekly, Monthly, Quarterly, Annual, Every Two Years, and more. You can also set a Recurring Payment Limit (the number of payments to collect) and a Trial Period in days.
      Square action with Payment Type set to Recurring (1) and Repeat set to Monthly (2) in Recurring Payment Settings
  6. Give your Payment action a Description to attach to the payment. This information will be sent to Square along with the payment. You can either type in a description, or use a field from your form to set the description dynamically. To use a field for the description, click the icon in the Description box and then select your field from the list. This will insert a value like [3130] for your Description setting.
  7. Set the Amount for the payment. You can either type in an amount, or use a field from your form to calculate the amount. To use a field for the amount, click the icon in the Amount box and then click your field in the list. This will insert a value like [3138] for your Amount setting.
  8. The Customer Information fields can be associated with field values in your form. These details are sent to Square with the payment.
    • Email: Click the icon and select your Email field.
    • Address: Choose an Address field from your form. Square needs a country. Do not use the Other - exclude country field address type. If your form has no Address field, the dropdown shows only a message that asks you to add one.
    • First Name and Last Name: Choose the first and last name parts of your Name field.
    Square Customer Info - Email, Address, First Name, and Last Name
  9. Click Update to save your changes.
Formidable Forms Lite runs 1 payment action per form. With Formidable Forms Pro, you can add more than 1 Square payment action and use conditional logic to choose which one runs.

Set up Square test payment integration

Before testing payments, it’s important to set up your Square settings so everything functions properly in test mode. If any steps are missed, you might encounter issues such as a blank screen.

  1. Enable Test Mode. Go to Formidable → Global Settings → Payments and click the Square tab. Locate the option labeled Use the Square test mode and check the box. Then click Update to save your changes. This enables a testing environment, allowing you to simulate transactions without affecting real funds.
    Enable Square Test Mode
  2. Open the test setup steps. Click the Connect button in the Test section. A Setting up Square for Test payments popup opens with the steps below. Do them in order, or you get stuck on a white screen. If you don’t already have a Square account, click here to create one. This account is necessary to integrate Square’s payment processing with your forms.
    Setting up Square for Test Payments
  3. Set Up a Sandbox Test Account. Click here to create a Square sandbox test account. This account lets you run payment simulations as if they were real.
  4. Access the Square Dashboard. Click the Square Dashboard to open the new sandbox account. Keep this browser tab open, as you will need to reference it during the setup process.
    Access Square Dashboard sandbox test account
  5. Authorize Permissions. Return to your site and click the last here link in the popup. Square opens. Approve the necessary permissions for processing Square test payments by clicking the Allow button to confirm.
    Square Get Connected with Sandbox test account
  6. Verify Connection. After allowing permissions, you will be redirected back to the Formidable Global Settings page on your site. To confirm a successful connection, look for a green checkmark with the text Connected next to the Test connection status.
    Square Test Connection Status

Run a Square test payment

Testing your Square payment forms is crucial to ensure everything is functioning correctly before processing actual payments. This section guides you through conducting test transactions.

  1. Ensure HTTPS Connection. Your site must use HTTPS. Without a secure connection, the Square card fields won’t appear, and you’ll receive an error message, "Web Payments SDK can only be embedded on sites that use HTTPS and have a secure context."
  2. Check that the Test section of your Square settings shows Connected, as in the test setup steps above. Without a test connection, the card fields don’t work. The form shows "Square is not connected. Please connect your Square account to process payments."
  3. Open the page where your Square form is published and submit a test entry. Learn more about how to publish a form.
  4. Simulate payments using the following test card numbers.
    • Successful payments: Use 4800 0000 0000 0004 and 4800 0000 0000 0012 to test payments.
    • Declined payments: Use 4000 0000 0000 0002 to test payments.
  5. Go to Formidable → Payments to check the result. A test payment shows Test in the Mode column. Learn more about how to view and manage Square payments.
Note: For subscription payments to work, your site must be publicly accessible because webhooks must trigger these operations.

View and manage Square payments

Keep track of payments from your Square form by managing them within the Payments section of your Formidable settings. This keeps everything organized and easy to review in one place.

  1. Go to Payments. From your WordPress admin dashboard, go to Formidable → Payments (1).
  2. Open the Payments Overview. Using the dropdown filter, choose your Square form from the selection and click the Filter button (2). The dropdown and Filter button appear once your site has at least 1 payment. Until then, the page shows a Start accepting payments message.
    Payments list with the Square form chosen: marker 1 on the Formidable Payments menu item and marker 2 on the Filter button
  3. Manage Square Payments. You will be taken to all related activities for your Square form, including both payments and subscriptions.

Save payment status in a field

— Premium Feature —

This needs Formidable Forms Pro, which is available on the Basic, Plus, Business, and Elite licenses.

Use the After Payment settings in the Square action to change a field value when the status of a payment changes. In this example, a hidden field saves the status of each payment.

For a subscription, only the Completed status runs for each payment, including the first one. A failed subscription payment does not set Failed.

  1. In the form builder, add a Hidden field and name it Status. Click Update.
  2. Go to your form Settings → Actions & Notifications and open the Square payment action.
  3. Scroll down to the After Payment section and click Add.
  4. In the Payment Status dropdown, select Completed. In the Field dropdown, select your Status field. In the Value box, type Completed.
  5. (Optional) To save another status, click the plus icon at the end of the row. In the new row, pick the status, your Status field, and a value that names the status. The other statuses are Failed, Refunded, Canceled, and Canceled and Expired. Canceled and Canceled and Expired are subscription statuses. A subscription gets Canceled when it is canceled on your site. It stays active until the end of its paid period. It gets Canceled and Expired only when Square deactivates the subscription, for example when Square flags the buyer's identity as suspicious. A canceled subscription that reaches the end of its paid period keeps the Canceled status.
    Payment action After Payment rows for Completed, Failed, Refunded, Canceled, and Canceled and Expired, each saving its status in a field
  6. Click Update to save your changes. When a payment is completed, the Status field changes to Completed.
A refund changes the field only when you make it in Formidable → Payments, not in the Square Dashboard. Square sends each subscription payment and the Canceled and Expired status to your site by webhook. These change the field only when your site is publicly accessible (see the webhook note).

The value can include a field shortcode. For example, Paid [25] saves "Paid" followed by the value of field 25. Replace 25 with the ID of a field in your form.

Limitations

  • In Formidable Forms Lite, the Square action has no After Payment settings, so it can't change a field value after a payment. With Formidable Forms Pro, save the payment status in a field.
  • While Square supports various payment methods such as Apple Pay and Gift Cards, this integration only supports credit cards within the current setup.

Troubleshooting

Why am I seeing a white screen when I try to connect?

The popup tries to explain this, but you need to create a sandbox test account, and load the dashboard in another tab before clicking Connect.

Square is not connected. Please connect your Square account to process payments.

This message shows when a form with a Square action is submitted, but Square isn't connected in the mode it's set to use. Go to Formidable → Global Settings → Payments, click the Square tab, and connect your Square account.

A similar message, "Square is set to test mode, but it is only connected in live mode", means Square is connected only in the other mode. Connect Square in the mode it's set to use. Or turn Use the Square test mode on or off to match the connected mode.

Why is my credit card field not appearing?

This is likely because you are not using HTTPS. To use Square payment forms (both for Live and Test purposes), you will need an SSL connection.

Why is my subscription immediately canceled after I make a payment?

Square will immediately deactivate a subscription for having a suspicious identity. Try to provide real information, like a valid email, when creating subscriptions.

Was this article helpful? *

This article may contain affiliate links. Once in a while, we earn commissions from those links. But we only recommend products we like, with or without commissions.

In this article

    We have a small, but amazing team of dedicated people who are committed to helping you achieve your goals and project requirements.


    Copyright © 2026 Strategy11, LLC. Formidable Forms® is a registered trademark Strategy11, LLC.

    Join 400,000+ using Formidable Forms to create form-focused solutions fast. Get Formidable Forms