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