https://github.com/gedex/wp-slack-edd
Send notifications to Slack channels whenever sales, in EDD, are made.
https://github.com/gedex/wp-slack-edd
Last synced: over 1 year ago
JSON representation
Send notifications to Slack channels whenever sales, in EDD, are made.
- Host: GitHub
- URL: https://github.com/gedex/wp-slack-edd
- Owner: gedex
- License: gpl-2.0
- Created: 2014-04-13T18:58:34.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-04-13T20:20:18.000Z (over 12 years ago)
- Last Synced: 2025-02-15T08:24:39.072Z (over 1 year ago)
- Language: PHP
- Homepage: http://wordpress.org/plugins/slack-edd/
- Size: 207 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Slack EDD
Send notifications to Slack channels whenever sales, in EDD, are made.
**Contributors:** [akeda](http://profiles.wordpress.org/akeda)
**Tags:** [slack](http://wordpress.org/plugins/tags/slack), [api](http://wordpress.org/plugins/tags/api), [chat](http://wordpress.org/plugins/tags/chat), [notification](http://wordpress.org/plugins/tags/notification), [edd](http://wordpress.org/plugins/tags/edd), [downloads](http://wordpress.org/plugins/tags/downloads), [sales](http://wordpress.org/plugins/tags/sales)
**Requires at least:** 3.6
**Tested up to:** 3.8.1
**Stable tag:** trunk (master)
**License:** [GPLv2 or later](http://www.gnu.org/licenses/gpl-2.0.html)
**Donate link:** http://goo.gl/DELyuR
## Description ##
This plugin is an extension to [Slack plugin](http://wordpress.org/plugins/slack) that allows you to send notifications to Slack channels whenever sales are made.
The new event will be shown on integration setting with text **When a payment in EDD is marked as complete**. If checked then notification will be delivered once sales are made.
You can alter the message with `slack_edd_complete_purchase_message` filter. The filter receives following parameters (ordered by position):
* `$message` — Default string of message to be delivered
* `$payment_id` — Payment ID
* `$total` — Total in `float`
* `$formatted_price` — Nicely formatted price based on your EDD setting
* `$payment_meta` — Payment information
* `$user_info` — User whom made the purchase
* `$cart_items` — List of purchased downloads
* `$payment_url` — Admin URL for this payment
**Development of this plugin is done on [GitHub](https://github.com/gedex/wp-slack-edd). Pull requests are always welcome**.
## Installation ##
1. You need to install and activate [Slack plugin](http://wordpress.org/plugins/slack) first.
1. Then upload **Slack EDD** plugin to your blog's `wp-content/plugins/` directory and activate.
1. You will see new event type with text **When a payment in EDD is marked as complete** in integration setting. If checked then notification will be delivered once sales are made.
## Screenshots ##
### Event option in integration setting

### Your channel get notified whenever sales are made.

## Changelog ##
### 0.1.0 ###
Initial release