Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Send notifications to Slack channels whenever sales, in EDD, are made.
PHP
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
assets
bin
LICENSE
readme.md
readme.txt
slack-edd.php
svn-url

readme.md

Slack EDD

Send notifications to Slack channels whenever sales, in EDD, are made.

Contributors: akeda
Tags: slack, api, chat, notification, edd, downloads, sales
Requires at least: 3.6
Tested up to: 3.8.1
Stable tag: trunk (master)
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 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. Pull requests are always welcome.

Installation

  1. You need to install and activate Slack plugin first.
  2. Then upload Slack EDD plugin to your blog's wp-content/plugins/ directory and activate.
  3. 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

Event option in integration setting

Your channel get notified whenever sales are made.

Your channel get notified whenever sales are made.

Changelog

0.1.0

Initial release

Something went wrong with that request. Please try again.