augmentations / craft-commerce-square
Square payment gateway plugin for Craft Commerce
Installs: 21
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 0
Open Issues: 0
Type:craft-plugin
Requires
- craftcms/cms: ^3.1.5
- craftcms/commerce: ^3.0
- square/square: 6.0.0.20200625
Requires (Dev)
- roave/security-advisories: dev-master
This package is auto-updated.
Last update: 2023-11-22 18:06:48 UTC
README
Important
This plugin is no longer maintained.
Square for Craft Commerce
This plugin provides a Square integration for Craft Commerce.
Installation
You can install this plugin from the Plugin Store or with Composer.
From the Plugin Store
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.
With Composer
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
Setup
To add the Square payment gateway, go to Commerce → System Settings → Gateways, create a new gateway, and set the gateway type to “Square”.
Webhooks
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)