Important
This plugin is no longer maintained.
This plugin provides a Square integration for Craft Commerce.
You can install this plugin from the Plugin Store or with Composer.
Go to the Plugin Store in your project’s Control Panel and search for “Square for Craft Commerce”. Then click on the “Install” button in its modal window.
Open your terminal and run the following commands:
# Go to the project directory
cd /path/to/craft-project
# Tell Composer to load the plugin
composer require craftplugins/square
# Tell Craft to install the plugin
./craft install/plugin square
To add the Square payment gateway, go to Commerce → System Settings → Gateways, create a new gateway, and set the gateway type to “Square”.
The plugin currently only supports the refund.updated
event type.
Setting up webhooks support requires configuration within the Square Developer Dashboard.
- Go to the Square Applications Dashboard
- Go to your application, or create one
- Go to Webhooks
- Add a webhook using the URL in your configured Square gateway (Commerce → System Settings → Gateways)