{"id":105617,"date":"2019-06-23T08:39:14","date_gmt":"2019-06-23T08:39:14","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/slack-wc-orders\/"},"modified":"2019-06-23T09:29:12","modified_gmt":"2019-06-23T09:29:12","slug":"transmit-to-slack","status":"publish","type":"plugin","link":"https:\/\/pcm.wordpress.org\/plugins\/transmit-to-slack\/","author":3271719,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.0","stable_tag":"trunk","tested":"5.2.24","requires":"4.5.0","requires_php":"5.2.4","requires_plugins":"","header_name":"Transmit to Slack","header_author":"Shir Gans","header_description":"Transmit WooCommerce Orders to Slack","assets_banners_color":"451845","last_updated":"2019-06-23 09:29:12","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.me\/shirgans","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/transmit-to-slack","header_author_uri":"https:\/\/www.ovs.co.il","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1065,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["changelog","description"],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"2110813","resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"2110813","resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"2110819","resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"2110813","resolution":"1","location":"assets","locale":""}},"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1556,16281,3565,286],"plugin_category":[45],"plugin_contributors":[173110],"plugin_business_model":[],"class_list":["post-105617","plugin","type-plugin","status-publish","hentry","plugin_tags-api","plugin_tags-orders","plugin_tags-slack","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-shirgans","plugin_committers-shirgans"],"banners":{"banner":"https:\/\/ps.w.org\/transmit-to-slack\/assets\/banner-772x250.png?rev=2110819","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/transmit-to-slack\/assets\/icon-128x128.png?rev=2110813","icon_2x":"https:\/\/ps.w.org\/transmit-to-slack\/assets\/icon-256x256.png?rev=2110813","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/transmit-to-slack\/assets\/screenshot-1.png?rev=2110813","caption":""}],"raw_content":"<!--section=changelog-->\n<h4>1.0.0 - 2019-06-23<\/h4>\n\n<ul>\n<li>First version<\/li>\n<\/ul>\n\n<!--section=description-->\n<p>Instantly sends new orders from WooCommerce to your desired Slack channel.<\/p>\n\n<h4>Screenshots<\/h4>\n\n<ul>\n<li>This is how new orders shows on Slack (Ver. 1.0)<\/li>\n<\/ul>\n\n<h3>Getting Started<\/h3>\n\n<h4>Step 1: Create Slack App<\/h4>\n\n<ul>\n<li>Go to Slack APIs: https:\/\/api.slack.com\/apps\/ and login<\/li>\n<li>Create a new app<\/li>\n<li>Give it a name (WC Orders, for example)<\/li>\n<li>Choose the workspace you would like to integrate with<\/li>\n<li>Under \u201cBuilding Apps for Slack\u201d click on \u201cIncoming Webhooks\u201d<\/li>\n<li>At the top - Activate Incoming Webhooks<\/li>\n<li>Then, at the bottom, click on the button to add new webhook<\/li>\n<li>Choose the channel you wish the orders will show in<\/li>\n<li>You can create a new channel on slack and then refresh that page, so you can select the channel you just created<\/li>\n<li>Click Install<\/li>\n<li>You will see a new webhook URL, something that starts like this: https:\/\/hooks.slack.com\/services\/T8KD1LQ...... <\/li>\n<li>Copy this URL<\/li>\n<\/ul>\n\n<h4>Step 2: Add code<\/h4>\n\n<ul>\n<li>Add the following code to your functions.php.<\/li>\n<li>change \"paste Webhook URL here\" to the copied URL (from step 1)<\/li>\n<\/ul>\n\n<p>add_filter('transmit_to_slack_webhook_url', 'slack_webhook_url');\nfunction slack_webhook_url(){\n    return 'paste Webhook URL here';\n}<\/p>\n\n<h3>Contribute on GitHub<\/h3>\n\n<p>You are welcome to contribute this open source project on GitHub:\nhttps:\/\/github.com\/shirgans\/transmit-to-slack<\/p>","raw_excerpt":"Instantly sends new orders from WooCommerce to your desired Slack channel. Screenshots This is how new orders shows on Slack (Ver. 1.0)","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/105617","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=105617"}],"author":[{"embeddable":true,"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/shirgans"}],"wp:attachment":[{"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=105617"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=105617"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=105617"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=105617"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=105617"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcm.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=105617"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}