Skip to content
This repository has been archived by the owner on Nov 22, 2023. It is now read-only.

đź›’ Square payment gateway plugin for Craft Commerce

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.md
Notifications You must be signed in to change notification settings

craftplugins/commerce-square

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)