A customized Slack integration for Magento event notifications.
Intelivemetrics_Slack
This module was built on top of another by Intelivemetrics. It was designed to change the format of Slack notifications for orders and shipments, and also to create a detail view endpoint for those records which was secured using tokens but did not require an administrator to be logged in.
An order notification posted to a channel
Viewing the order detail directly from the Slack channel post
N/A
protected function _validateUrl()
{
if ( $this->getRequest()->getParam(Groove_Slack_Helper_Data::ADMIN_KEY_PARAM_NAME) != Mage::helper('groove_slack')->generateKey() ) {
$this->_redirectUrl(Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB));
}
return $this;
}