Skip to content
Submit a Ticket(opens in a new tab)

Square Payment Addon

The MEC Square Payment Addon is a powerful integration tool that connects your Modern Events Calendar (MEC) with the secure Square Payment system. This allows you to process ticket sales directly through Square, providing a seamless and professional checkout experience for your attendees.

Requirements
MEC Pro
Latest Version
1.3.0
Last Updated
2026-11-14

ChangelogBuy Now

Before you begin the integration, ensure your environment meets the following requirements:

  • MEC Pro: This addon requires the Pro version of Modern Events Calendar.
  • MEC Version: This addon requires Modern Events Calendar 7.38.0 or later.
  • Booking Module: Navigate to MEC Settings > Booking and ensure the Enable booking module toggle is active. You must save changes and refresh the page for payment gateway options to appear.
  • Installation: Confirm both MEC Pro and the Square Payment Addon are installed and activated on your WordPress site.

To link the systems, you must first set up a developer profile on the Square website.

Square Developer sign-up form to create a Square account

  1. Sign Up: Visit the Square Payment sign-up page.
  2. Account Credentials: Enter your Email, create a Password, and select your Locale (e.g., United States (English)) from the dropdown menu.
  3. Agreement: Check the box to agree to Square’s Terms, Privacy Policy, and E-Sign Consent, then click Create account.
  4. Business Details: Enter your First name, Last name, and Business name. You may also provide a Business website (optional) before clicking Con****tinue.

Square Developer form asking for business details

Pro Tip: When asked “How do you like to code?“, click the Skip button to proceed to the application setup.

Once your account is ready, you must create a specific application to generate the necessary API keys.

Square Developer form to name your first application

  1. Name Your Application: Enter a clear Application name in the provided field.
  2. Developer Terms: Check the box for the Square Developer Terms of Service and click Continue.

Square Developer onboarding step asking what you will build first

  1. Define Goals: You will be asked “What will you build first?”. You can select options like Accept payments or Manage and fulfill orders, or simply click Skip.

Square Developer onboarding screen asking who the application is for

After creating your application, you must transfer the security credentials to your Modern Events Calendar (MEC).

Toggle between Sandbox (for testing) and Production (for real transactions) at the top of the page.

Pro Tip: Your application must be in Production mode to receive actual payments to your bank account.

1. API Keys: Copy the Application ID and the Access token.

Square Developer credentials page with sandbox application ID and access token

2. Location ID: Navigate to the Locations tab in the Square sidebar. Copy the specific Location ID associated with your business address.

Square Developer dashboard Locations page showing the default test account location ID

Navigate to MEC Settings > Booking > Payment Gateway > Square and input the following:

MEC Square payment gateway settings with application ID, access token and location ID

  1. Application ID
  2. Access Token (the field is masked like a password; click Show / Hide next to it to reveal or hide the token)
  3. Location ID
  4. Mode (Production for real payments or Sandbox for testing; it must match the mode of the credentials you copied from Square)

The gateway is only offered at checkout when the Square checkbox is enabled and Application ID, Access Token and Location ID are all filled in. Once the Access Token is saved, the settings show “Access token is correct!” or the error returned by Square.

Pro Tip: Ensure the currency set for your Location in Square matches the currency selected for your events in MEC Settings > General > Currency. If these do not match, payments will fail.

  • Secure Online Ticket Sales: Provides a trusted, encrypted environment for attendees to pay for events using credit cards.
  • Automated Financial Tracking: Centralizes all ticket revenue within your Square Dashboard for easy accounting.
  • Streamlined Checkout: Reduces friction by allowing users to pay directly on your site without being redirected to external, unfamiliar pages.
  • Non-Pro Users: This addon will not function if you are only using the Lite version of Modern Events Calendar.
  • Unsupported Currencies: If your local currency is not supported by Square or does not match your MEC settings, the integration will fail.
  • Offline-Only Events: If you only accept cash or on-site payments, this digital gateway integration is unnecessary.
  • Payments Failing: Double-check that your MEC Currency matches your Square Location Currency. Even a small mismatch (e.g., USD vs CAD) will prevent the transaction from processing.
  • Not Receiving Money: Ensure your Square app is toggled to Production mode and that Mode in the MEC Square settings is set to Production. If it is in Sandbox, transactions are only simulated and no real funds are transferred.
  • Credentials Not Saving: If the fields in MEC won’t accept your keys, ensure you haven’t copied any extra spaces at the beginning or end of the Application ID or Access Token.
  • Addon Not Working After Update / MEC Is Too Old: If MEC is older than 7.38.0, the addon does not load and administrators see the notice “One or more MEC addons require Modern Events Calendar 7.38.0 or later and are temporarily disabled. Update MEC first, then the addons will start working again.” Update MEC first; the Square gateway will then work again.
  • “Request to payment server failed.”: The checkout could not get a response from Square’s servers. Try again, and if it keeps happening check that your hosting allows outgoing connections from WordPress to Square.