Labour Day Logo
Flat 26% OFF
USE CODE: LABORDAY26

CLAIM 26% DISCOUNT NOW

Subscribe to our email and get updates right in your inbox

How to Integrate Square Payments in WordPress: Step-by-Step Guide

by Hamza Hanif

September 2, 2026
SUMMARIZE:

ChatGPT

Perplexity

You don’t need WooCommerce to accept Square payments on WordPress. WP Easy Pay lets you securely connect your Square account, create custom payment forms, and start accepting online payments directly from your website.

Everything happens inside your WordPress dashboard. After you connect your Square account, you build payment forms, choose accepted payment methods, customize form fields, and publish them on any page without writing code.

In this guide, you will learn how to integrate Square Payments into your WordPress site and start accepting live payments through a reliable WordPress payment gateway.

Important Note: Square payment processing availability, supported payment methods, and currencies depend on your country and Square account. Always verify that Square supports payment processing in your region before setting up your WordPress integration.

Why Integrate Square Payments into WordPress

Square ranks among the world’s most trusted payment processors, serving millions of businesses online and in person. When you integrate Square Payments with WordPress, you manage both offline and online transactions from the same Square account while offering customers a secure and familiar payment experience. This approach lets you collect online payments without juggling multiple payment systems.

Here are the main reasons website owners choose to accept credit cards on WordPress via Square:

  • Accept online payments for products or services using customizable payment forms
  • Collect donations for nonprofits, charities, and fundraising campaigns
  • Receive one-time payments for consulting, coaching, or freelance services
  • Sell digital products such as ebooks, templates, software, or online courses
  • Add payment forms to landing pages, service pages, or event registration pages
  • Give customers a familiar and trusted payment experience with Square
  • Set up secure online payments without writing any code

If your website doesn’t require a complete ecommerce store with inventory management and shipping features, accepting payments through Square payment forms offers a simpler, faster, and easier-to-maintain solution for collecting online revenue.

Who Should Use Square on WordPress

Square integration makes the most sense for creators who need to collect payments for specific items rather than run a full online store. This includes:

  • Nonprofits collecting donations
  • Freelancers invoicing clients
  • Coaches and consultants selling sessions or packages
  • Local businesses taking deposits or pre-orders
  • Restaurants accepting online orders or gift card purchases
  • Event organizers selling tickets
  • Membership sites collecting recurring or one-time fees

If any of these describe your site, a plugin built specifically around payment and donation forms will get you live faster than adapting a general ecommerce plugin to a use case it wasn’t designed for.

What You’ll Need Before You Start

Before connecting Square, gather everything below. Most connection issues happen because users miss one of these requirements.

Checklist:

  • A WordPress site with admin access
  • An active SSL certificate (https, not http) for secure checkout WordPress compliance
  • A Square account (personal or business)
  • The active WP Easy Pay plugin
  • A business location configured inside your Square dashboard

Before connecting Square, ensure your WordPress site already runs HTTPS. Square blocks live payment processing over unsecured connections, and you will end up troubleshooting connection errors that you can easily avoid by checking this first.

How to Integrate Square Payments to WordPress Using WP Easy Pay

Learn how to integrate Square Payments with your WordPress website using WP Easy Pay. Follow these simple steps to connect Square, configure payment settings, and start accepting secure online payments.

Step 1: Install and Activate WP Easy Pay

Start by logging into your WordPress admin dashboard and navigating to Plugins → Add Plugin.

WordPress admin dashboard Plugins Add Plugin menu

Use the search bar on the right to search for WP Easy Pay.

Locate the official plugin, click Install Now, and wait a few moments for the installation to finish. Then, click Activate.

Install Now button on WP Easy Pay plugin

WordPress now runs the WP Easy Pay Free plugin on your website.

Note: The free version lets you accept basic Square credit and debit card payments. If you need more payment options and advanced functionality, WP Easy Pay Pro adds features such as Apple Pay, Google Pay, Cash App, and recurring billing WordPress capabilities.

Here is how to install the WP Easy Pay Pro/Business version:

  1. Open a new browser tab and visit the WP Easy Pay Pricing page. Choose and purchase the plan that best fits your needs. We recommend the Business plan if you want access to the most features.
  2. After completing your purchase, check your email for the plugin ZIP file and your license key.
  3. Return to your WordPress dashboard and go to Plugins → Add Plugin → Upload Plugin.
Plugins Add Plugin Upload Plugin screen in WordPress
  1. Click Choose File, select the WP Easy Pay ZIP file you downloaded, and then click Install Now.
Uploading WP Easy Pay Pro ZIP file
  1. Once installation finishes, WordPress directs you to the activation page. Click Activate Plugin.
WordPress plugin activation page after successful upload
  1. Enter your license key in the provided field and click Activate License.
License key field on WP Easy Pay settings

Congratulations! You have successfully installed and activated WP Easy Pay Business.

Step 2: Connect Your Square Account to WordPress

  1. Now, let’s connect Square and configure your WordPress payment setup.
Connect Square notification in WordPress dashboard
  1. You should see a notification containing a Connect Square link. You can use this link directly, or navigate through the WordPress dashboard by going to WP Easy Pay → Square Connect. We recommend using the dashboard option.
  2. If you select the Connect Square link from the notification, you’ll be taken directly to the Square login page. If you access it through the WordPress menu, you’ll first see the Square Connect settings page.
Square Connect settings with sandbox and production modes
  1. Click Connect Square to link your WordPress website with Square as the payment processor. You can choose Sandbox to test payments, or Production when you’re ready to accept real transactions.
  2. You’ll then be redirected to Square’s official website. Enter your Square account login details and click Sign In.
  3. Review the connection request and click Allow to authorize Square to connect with your WordPress website. Square uses OAuth authentication to establish a secure connection between your WordPress website and Square account. 
  4. After successfully authenticating your account, click That’s My Site – Redirect Me to return to your WordPress dashboard.
Square account successfully connected to WordPress site

Your Square account is now connected to your WordPress website.

Step 3: Create Your First Square Payment Form

  1. From your WordPress dashboard, go to WP Easy Pay → Create Payment Form.
Create Payment Form screen with title and description
  1. Add a suitable title and description for your form based on the product or service you’re offering. Then, choose the payment type you want to use.
Four payment types available in WP Easy Pay

WP Easy Pay provides four payment types:

  • Simple Payment: Allows customers to make a one-time payment for a product or service.
  • Donation Payment: Lets customers make a one-time donation and choose how much they want to contribute.
  • Donation Recurring: Allows supporters to make recurring donations on a set schedule.
  • Subscription Payment: Lets you charge customers on a recurring basis for ongoing products or services.

Most businesses use Simple Payment for one-time purchases and Subscription Payment for recurring billing. If you want to scale recurring revenue, read how to grow your business using WordPress subscription payments.

  1. Next, choose your preferred Amount Type and enter the price for your product or service. You can also add multiple pricing options if needed.
  2. If you want customers to be redirected after completing a payment, enable the success redirection option and add a custom success message.
Completed Square payment form with amount settings

You have successfully created your first Square payment form. This form allows customers to make secure transactions directly on your WordPress site.

Before publishing, it’s important to get the most out of this plugin. Follow the steps below to select your desired payment methods and customize your form.

Step 4: Select Your Desired Payment Methods

  1. Open the Square Account Settings tab.
Square Account Settings tab showing store location
  1. First, select the appropriate store location.
  2. Then, look under Other Payment Options and enable the payment methods you want to offer your customers.
Enabling Apple Pay and other payment options

Apple Pay requires domain verification before customers can use it. Terminal Pay requires you to generate a device code and pair it with your Square Terminal device. Here is the tutorial for setting up Square Terminal.  

  1. After selecting your preferred payment methods, you can proceed to customize the form.

Step 5: Customize Your Payment Form

  1. Go to the Extra Fields tab to add additional information fields to your payment form.
Extra Fields tab for payment form customization
  1. WP Easy Pay makes it easy to add fields using the drag-and-drop interface. Simply select the fields you need and arrange them according to your preferences.
Drag and drop interface arranging form fields
  1. Once you’re happy with the form layout and fields, you can publish it.
  2. Click Publish on the right side of the screen and copy the generated shortcode. You’ll need this shortcode when adding the form to a WordPress page.
Published payment form with generated shortcode

Step 6: Embed Your Payment Form 

  1. After publishing your payment form and copying its shortcode, go to Pages → Add Page from your WordPress dashboard.
Pages Add Page menu in WordPress dashboard
  1. Give the page a relevant title that matches the purpose of your payment form.
New WordPress page titled for payment form
  1. You can add the form in either of two ways. Paste the shortcode into a new WordPress block, or type /wpeasypay and choose your payment form from the dropdown list.
Selecting payment form from WordPress block dropdown
  1. Once everything looks good, click Publish in the top-right corner.
Live Square payment form on WordPress page

Your Square payment form is now live on your WordPress website.

Testing Square payments in sandbox mode

Before accepting real payments, make sure you test the entire payment process using Sandbox mode. This helps you identify and resolve any issues before switching to live transactions.

How to Test Every Payment Scenario Before Going Live

Don’t stop at one successful sandbox transaction. Before flipping to live mode, also test:

  • A declined payment, to confirm your error messaging makes sense to the customer.
  • A variable amount payment at both a very small and very large value.
  • The full flow on both desktop and mobile.
  • What the customer sees if they close the payment form without submitting it.
  • An expired card scenario.

What Happens After a Successful Payment

Once Square approves a transaction, Square redirects the customer back to your site, typically to a confirmation page you customize. Square automatically sends a confirmation email, and the transaction appears in your Square dashboard almost immediately, ensuring seamless Square dashboard sync.

If your website automatically delivers digital downloads, grants membership access, or confirms bookings, verify that each automation works correctly during Sandbox testing.

Common Use Cases of Square Payments on Your WordPress Website

Once you integrate Square with your WordPress website, you can use it for much more than a basic payment form. From one-time payments and recurring subscriptions to appointment bookings and fundraising campaigns, Square helps you accept payments securely while keeping the process simple for both you and your customers.

Here are some practical common use cases:

  • Accept Donations: Set up a variable amount button so donors choose what to give, or offer a few preset amounts alongside a custom option.
  • Sell Services: Coaches and consultants create a fixed price button for a single session or package, eliminating the need for invoicing software.
  • Sell Digital Downloads: Pair a payment button with a redirect to a download link or a delivery email after payment is confirmed.
  • Accept Deposits: For businesses that require a deposit before booking, a fixed or variable amount button works without needing a full booking system attached.
  • Collect Invoices: Send clients a link to a page with their specific payment button already set up for the amount owed.
  • Event Registration: Use fixed price buttons per ticket type, and if you need to cap attendance, track it manually or pair it with a simple registration form.
  • Appointment Booking: Combine a scheduling plugin with a Square payment button to collect payment at the time of booking.
  • Pay Invoices: Similar to invoice collection, but framed as a recurring need for service-based businesses that bill regularly.

How WP Easy Pay Works Behind the Scenes

When a visitor clicks a payment button, the plugin sends a request to Square using the OAuth token that you generated when you first connected your account. Square generates a secure transaction session and returns a URL where your customer completes the transaction.

Once Square approves the payment, Square redirects the customer back to your site, and the plugin marks the transaction complete.

None of the actual card data ever touches your WordPress database. WP Easy Pay never stores sensitive card information on your WordPress server because Square securely processes payment data through its own infrastructure.

How to Optimize Square Payments for Maximum Conversions

A secure payment gateway provides only part of the payment experience. Small improvements to your WordPress payment form reduce friction, build customer confidence, and encourage more visitors to complete their purchases.

Use the following best practices to optimize your Square payment and improve conversion rates on your WordPress website:

  • Reduce the number of fields in the payment form.
  • Make your button visually distinct from the rest of the page.
  • Add a short line of trust copy near the button; mentioning Square by name helps since most visitors already recognize it.
  • Test both a redirect and a popup payment style if your plugin supports both, and see which one your audience completes more often.

Grow Your Business by Integrating Square Payments in WordPress

Now that you know the complete setup process, you are ready to integrate Square Payments in WordPress with confidence. By following each step carefully, from connecting your Square account to testing payments in the sandbox, you create a secure and reliable payment experience for your customers. A little preparation now saves you time and helps you avoid common setup issues later.

If you are ready to start accepting payments, donations, or service bookings through your WordPress site, WP Easy Pay makes the process simple and efficient. Get started today, build your first payment form, and integrate Square Payments in WordPress with a solution designed for speed, security, and ease of use.

Frequently Asked Questions

Does Square require SSL to accept payments?

Yes. Square requires HTTPS for live payment processing, and won’t allow it over an unsecured connection.

Can Square process recurring payments on WordPress?

The plugin version and your Square account setup determine this. Check the current feature list before assuming the system includes this.

What differentiates sandbox mode from live mode?

Sandbox mode uses test card numbers and doesn’t move real money, letting you confirm your setup works before risking a real transaction.

Why does my Square account fail to connect to WordPress?

Most connection failures come down to a redirect URL mismatch between your plugin settings and your Square Developer Dashboard.

Can I use Square for donations instead of just product sales?

Yes. WP Easy Pay supports fixed and variable amount buttons, which work well for donation forms.

What happens if Square declines a customer’s card?

The customer sees a decline message on Square’s checkout page and can retry with a different card. Square records no charge on your end.

Can I set a variable donation amount instead of a fixed price?

Yes, this is one of the more common use cases for nonprofits using this kind of integration.

Does my WordPress site store my customers’ card information?

No. Customers enter card data directly on Square’s hosted checkout; the system stores nothing on your server or in your WordPress database.

Do I need a Square Developer account to use this?

Not always. Many integrations only require a standard Square account that OAuth authorizes, though some setups may need a Developer App for advanced configuration.

How long does it take to set up Square on WordPress?

For a single-payment button with a basic setup, most people finish in under 15 minutes, not counting sandbox testing.

Can I have multiple payment buttons on the same page?

Yes, you can place as many buttons or forms as you need across different pages or the same page.

What currencies does Square support?

This depends on your Square account’s region. Check your Square dashboard settings for supported currencies before configuring the plugin.

Will this slow down my website?

A well-built payment button integration adds minimal load, especially since the actual checkout happens off your site on Square’s servers.

Can I customize what happens after a payment completes?

Most plugins let you set a custom confirmation page or message; check your specific settings for this option.

Does the plugin support Apple Pay?

If your Square account supports Apple Pay, the plugin can typically surface it as a payment option automatically.

What if I need to issue a refund?

You handle refunds directly through your Square dashboard, not through WordPress.

Can nonprofits use this for tax-deductible donations?

The plugin handles the payment collection, but tax receipt generation and compliance are separate considerations you’ll need to manage on your end.

What happens if my SSL certificate expires?

Live payments will stop working until you renew it, since Square requires an active SSL connection at all times.

Can I test a real payment before making the button public?

Yes, run a small real transaction to yourself in live mode before sharing the link or publishing the page widely.

Do I need a business Square account, or does a personal account work?

Both can work depending on your use case, though a business account typically unlocks more features and reporting.

What is the most common reason integrations fail after working previously?

An expired SSL certificate or a change to the site’s URL structure that no longer matches the configured redirect URL.

Can I move from PayPal to Square without losing my transaction history?

Your old processor’s history stays in that account. Export it for your records before fully switching over.

Does Square charge a transaction fee for WordPress payments?

Square’s standard processing fees apply regardless of whether the payment originates from WordPress or another source. Check your Square account for current rates.

blog-sideba

Get WordPress payment tips delivered straight to your inbox

Join 8,500+ users who get our weekly newsletter with insider Square payment tips!

Create Your Square Payment Form in Minutes— No Coding Required!

Scroll to Top