Send notifications to Slack channels whenever payment in WooCommerce is marked as complete.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets
languages
.gitignore
.wpt.yml
phpcs.xml
readme.md
readme.txt
slack-woocommerce.php

readme.md

Slack WooCommerce

Send notifications to Slack channels whenever payment in WooCommerce is marked as complete.

Contributors: akeda
Tags: slack, api, chat, notification, woocommerce, payment
Requires at least: 4.4
Tested up to: 4.7
Stable tag: 0.2.0
License: GPLv2 or later
Donate link: http://goo.gl/DELyuR

Description

This plugin is an extension to Slack plugin that allows you to send notifications to Slack channels whenever payment in WooCommerce is marked as complete.

The new event will be shown on integration setting with text When a payment in WooCommerce is marked as complete. If checked then notification will be delivered once payment is marked as complete.

You can alter the message with slack_woocommerce_order_status_completed_message filter. The filter receives following parameters (ordered by position):

  • $message — Default string of message to be delivered
  • $order — Order object

Development of this plugin is done on GitHub. Pull requests are always welcome.

Installation

  1. You need to install and activate both WooCommerce and Slack plugins first.
  2. Then upload Slack WooCommerce plugin to your blog's wp-content/plugins/ directory and activate.
  3. You will see new event type with text When a payment in WooCommerce is marked as complete in integration setting. If checked then notification will be delivered once payment is marked as complete.

Screenshots

Event option in integration setting

Event option in integration setting

Your channel get notified whenever payment is completed

Your channel get notified whenever payment is completed

Changelog

0.2.0

  • Added support for WooCommerce 2.7. This removes notices of calling order properties directly.

0.1.0

  • Initial release