Square Payment Gateway - Square Payments, Square Terminal, Cash App Pay, Apple Pay, Google Pay, Afterpay
by Modvanta$ 29.91

Take Square payments online and on the Square Terminal from Odoo
The Square card form on your Odoo checkout, invoices collected on a paired Square Terminal, saved cards, authorise-and-capture, refunds, disputes pulled into Odoo and a full API log.
Written and supported by Modvanta - modvantaapps@gmail.com
What it does
The module adds Square as a payment provider on the standard Odoo payment framework, for the eCommerce checkout, portal invoices and payment links. The card is typed in Square's Web Payments SDK form, so the card number goes to Square and Odoo only receives a token. Connect with the access token of your own Square application or with Square OAuth, and pick the Square location that takes the payments.
Pair a Square Terminal with a code, then collect an invoice on it from Odoo: the amount is sent to the terminal and the invoice is paid when the customer taps the card. Saved cards are stored at Square, card payments can be authorised and captured later, refunds go back to Square, and disputes are synchronized with a responsible user.
These screenshots were taken on Odoo 19 with a New York shop selling in USD. The bench has no Square account, so a local stand-in answered the Square API in the shapes the module's tests use, and the card form you see is that stand-in; on your shop Square's own form appears in the same place.
Who it is for
US and international Square sellers Use the Square account you already have for the Odoo webshop. | Shops with a counter Collect invoices on a Square Terminal paired with Odoo. | Finance teams Capture later, refund from Odoo and follow disputes with a responsible user. |
Key features
Every screen below is the module running on Odoo 19.
Feature 1
Application, location and webhook
Access token of your own application or Square OAuth, application ID, Square merchant ID, the location and its currency with Fetch Locations and Test Connection, and the webhook subscription with its signature key, created in one click.

Feature 2
Checkout, disputes and terminal options
Send customer details, statement description, convert to the location currency, Afterpay / Clearpay messaging, Apple Pay domain file, dispute responsible and synchronization, API log retention, and Square Terminal timeout, tipping, receipt screen, signature and the terminal used for card-present refunds.

Feature 3
Square card form at the checkout
The card form opens under the Card method; the card details go straight to Square and the customer can save the card. (On the bench a local stand-in draws the form.)

Feature 4
Pay again with a saved card
The card saved at Square on the first order is offered on the next one.

Feature 5
Collect an invoice on the Square Terminal
From a posted invoice, choose a paired terminal and send the amount; the customer taps, inserts or swipes the card.

Feature 6
Terminal payment received
Check Status confirms the payment and the invoice is paid.

Feature 7
Authorise now, capture later
With Capture Amount Manually the card payment is authorised; capture it from the transaction.

Feature 8
Square Terminals
Terminals with their pairing code, status, device ID and pair-before time - one paired, one waiting for its code to be entered.

Feature 9
Square disputes
Disputes synchronized from Square with transaction, customer, reason, state, amount and the date to respond before.

Feature 10
Payments, capture and refund
Online and terminal payments, a capture and a partial refund made from Odoo.

How it works, step by step
| 1 | Install the module Square appears in Payment Providers. |
| 2 | Connect Square Paste your sandbox application ID and access token (or use OAuth), fetch the locations and press Test Connection. |
| 3 | Create the webhook subscription One click; Odoo stores the signature key that signs every notification. |
| 4 | Pair a terminal Add a terminal, enter the pairing code on the device and refresh. |
| 5 | Go live Enter your production credentials and enable the provider. |
Settings
All settings are on the Square payment provider.
| Connection | Access token of your own application or Connect with Square (OAuth), application ID, access token, location, Fetch Locations, Test Connection. |
| Webhook | Webhook URL, signature key, Create Webhook Subscription. |
| Checkout | Send customer details, statement description, convert to the location currency, Afterpay / Clearpay messaging, Apple Pay domain association file. |
| Disputes and logs | Dispute responsible, Synchronize Disputes, keep the API log for a number of days. |
| Square Terminal | Terminal timeout, tipping, skip the receipt screen, ask for a signature, terminal for card-present refunds. |
Frequently asked questions
Does Odoo see the card number?
No. The card is typed in Square's Web Payments SDK form and Odoo only receives a token.
Can I collect invoices on a Square Terminal?
Yes. Pair the terminal with a code, then use Collect on a Square Terminal on a posted invoice; the invoice is paid when the customer pays on the device.
Can customers save their card?
Yes, the card is saved at Square and offered on the next order.
Can I capture later or refund?
Yes. With Capture Amount Manually the payment is authorised and captured from Odoo; refunds are made from the Refund button of the payment.
What about disputes?
Synchronize Disputes brings Square disputes into Odoo with their reason, state, amount and due date, assigned to the responsible user you choose.
Compatibility
Odoo 19 Community and Enterprise | Payments Standard Odoo payment providers | eCommerce and Invoicing Checkout, portal invoices, terminal collection | Square Web Payments SDK, Payments, Terminal and Disputes APIs |
Start taking Square payments in Odoo
Questions before you buy, help with setup, or a change for your own workflow - write to us and a developer answers.
SUPPORT | AUTHOR Modvanta | INCLUDED Module, email support |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module