Send notifications to Slack channels whenever payment in WooCommerce is marked as complete.
PHP
Latest commit 974389e Feb 12, 2017 @gedex Updated readme.md.
Permalink
Failed to load latest commit information.
assets Init. Apr 15, 2014
languages Updated pot. Feb 12, 2017
.gitignore Init. Apr 15, 2014
.wpt.yml Added wpt config. Feb 12, 2017
phpcs.xml Added phpcs ruleset. Feb 12, 2017
readme.md Updated readme.md. Feb 12, 2017
readme.txt Added support for WC 2.7. Feb 12, 2017
slack-woocommerce.php Use ordered placeholders in sprintf. Feb 12, 2017

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