augmentations/craft-commerce-square

This package is abandoned and no longer maintained. No replacement package was suggested.

Square payment gateway plugin for Craft Commerce

1.0.0-beta.3 2021-03-18 17:46 UTC

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.

  1. Go to the Square Applications Dashboard
  2. Go to your application, or create one
  3. Go to Webhooks
  4. Add a webhook using the URL in your configured Square gateway (Commerce → System Settings → Gateways)