<!-- DO NOT EDIT THIS FILE; it is auto-generated from readme.txt -->
# Slack WooCommerce

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

**Contributors:** [akeda](https://profiles.wordpress.org/akeda)<br>
**Tags:** [slack](https://wordpress.org/plugins/tags/slack), [api](https://wordpress.org/plugins/tags/api), [chat](https://wordpress.org/plugins/tags/chat), [notification](https://wordpress.org/plugins/tags/notification), [woocommerce](https://wordpress.org/plugins/tags/woocommerce), [payment](https://wordpress.org/plugins/tags/payment)<br>
**Requires at least:** 4.4<br>
**Tested up to:** 4.7<br>
**Stable tag:** 0.2.0<br>
**License:** [GPLv2 or later](http://www.gnu.org/licenses/gpl-2.0.html)<br>
**Donate link:** http://goo.gl/DELyuR<br>

## Description ##

This plugin is an extension to [Slack plugin](http://wordpress.org/plugins/slack) 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` &mdash; Default string of message to be delivered
* `$order` &mdash; Order object

**Development of this plugin is done on [GitHub](https://github.com/gedex/wp-slack-woocommerce). Pull requests are always welcome**.

## Installation ##

1. You need to install and activate both WooCommerce and [Slack](http://wordpress.org/plugins/slack) plugins first.
1. Then upload **Slack WooCommerce** plugin to your blog's `wp-content/plugins/` directory and activate.
1. 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](assets/screenshot-1.png)

### Your channel get notified whenever payment is completed

![Your channel get notified whenever payment is completed](assets/screenshot-2.png)

## Changelog ##

### 0.2.0 ###
* Added support for WooCommerce 2.7. This removes notices of calling order properties directly.

### 0.1.0 ###
* Initial release


