AXL Knowledge Base

Square Settings

~6 min read Section: Settings

Connect Square to AXL to accept payments for your products and services. This guide explains how to create or open a Square application, find the Application ID, Access Token, and Location ID for the same environment, and enter them in an AXL payment gateway.

Create a Square Account

You need a Square account and an application. Follow the current Square account and application guide. If you already have both, sign in and open the existing application for this integration.

For a new account, provide the personal, country, business and application details Square requests. Review its terms and complete the sign-up prompts. Registration can create your first application. If you need a separate application later, use the Applications page described below.

The Square screenshots below are older interface references in English. They illustrate the relevant controls; they are not new authenticated dashboard captures.

After you register, sign in to the Square Developer Console and open Applications. This is where you create or open the application whose credentials AXL will use. The earlier dashboard below shows an App integrations entry; use the current Developer Console path if your dashboard differs.

Historical Square dashboard with Settings expanded and App integrations highlighted.
Older Square dashboard reference from the source’s April 2023 example. The former Settings → App integrations route is shown for context. Use the current Developer Console route described above. The source business name and empty metrics are not the Northstar Academy setup.

Create a new application from Applications, or open an existing application for this integration. The earlier interface below labels the creation control New Application.

Historical Square Developer My Applications page with New Application and a Testing Credentials application card showing an application identifier.
Older Applications reference. New Application starts creation in this layout. The visible identifier and Testing Credentials name belong to the source example; use your own application. An Application ID is distinct from the private Access Token.

Enter a name for your application and click "Create Application".

Historical Square Developer New Application form with the source name Test Application, Back and Create Application.
Older complete application-name form. Test Application is the source’s illustrative name. Choose a name that identifies your own integration and follow the current creation prompts.

Open the application's Credentials page and select Sandbox for testing. Copy the Sandbox Application ID and Sandbox Access Token. Production credentials are separate. The Access Token is confidential; the Application Secret used for OAuth is a different value and is not the Access Token required by this AXL form.

Historical Square Credentials page with Sandbox selected, Sandbox Application ID concealed and Sandbox Access token masked in the source.
Older Sandbox credentials reference. Both required rows are visible, but the source hides their values. Do not replace a token merely because the old screenshot shows Replace token. Use the matching credentials for your own application and environment.

Find the Location ID on the application’s Locations page in the Square Developer Console. Copy the Application ID, Access Token, and Location ID from the same environment. Keep Sandbox credentials for tests; use Production credentials for live payments.

Before taking live payments, complete Square's account activation and use the production set for the same seller and location. A sandbox test does not activate the seller account.

Historical Square Locations page with Sandbox selected, the Production option visible, a Default Test Account location and a concealed Location ID.
Older Locations reference. Despite the arrow pointing toward Production, the selected environment in this source image is Sandbox. The default test location and address are examples; do not combine its Location ID with production credentials.

Connect Square to AXL

Next, connect the payment gateway to AXL so your customers can pay you through the payment forms in your account.

In AXL, go to "Settings" → "Payment Gateways" and click "Add Payment Gateway". If you haven't added a gateway yet, the list of gateways opens right away.

Add Payment Gateway chooser with provider cards, including Stripe, PayPal, Square, Mercado Pago and BitPay, plus More.
After Add Payment Gateway, select Square from the provider cards.

Select "Square" from the list. In the panel that opens, fill in the fields:

  1. Title. Enter a name for this payment gateway.

  2. Description. Add a description of this payment gateway. Customers see it on your website.

  3. Payment Button Text. Enter the text for the payment button on your website.

  4. Show on Website. Select the checkbox to offer this payment method on your website.

  5. Save card details for future payments where supported. Enable this for AXL subscription or upsell flows that need to reuse a supported card. After a successful Square payment, AXL attempts to save a card on file for that customer; a completed payment alone does not guarantee that card saving succeeded. Keep this option enabled when testing card saving, use matching sandbox credentials, and follow Square's Sandbox card-on-file scenarios.

  6. Currency. Select the currency you want to accept payments in. If you sell in several countries, you can set a different currency for each payment gateway. For example, you can sell courses in dollars through one gateway and accept euros through another. Choose one of the currencies supported by this gateway; the form shows the available options.

  7. Application ID. Enter the Application ID you copied from Square.

  8. Location ID. Enter the Location ID you copied from Square.

  9. Access Token. Enter the Access Token you copied from Square.

  10. Test Mode. Select this checkbox when all three values—Application ID, Location ID, and Access Token—come from Sandbox. For live payments, use the matching production values and clear Test Mode after Square activation.

  11. Show pop-up window. Select the checkbox to open the payment in a pop-up window when a customer pays for an order, instead of sending them to a separate page.

Square New Payment Gateway with a Northstar Academy title and general settings, Save card details and Currency.
Unsaved Square setup example. Review the general settings, then scroll to Integration Settings shown below.
Square Integration Settings with Application ID, Location ID, Access Token, Test Mode and Show pop-up window, empty credentials and Cancel/Create.
Scroll down in the same Square panel to complete Integration Settings. The credential fields are intentionally empty in this unsaved example; Create is at the bottom.

When the required fields are complete, click Create to save the gateway. Square then appears in the gateway list. Saving the form alone does not confirm Square activation, a successful payment or successful card saving.