Commit Graph

45 Commits

Author SHA1 Message Date
Brent Shepherd 4147935990 Fix undefined index notice in WC_Webhook 2017-02-02 12:52:00 -08:00
Claudio Sanches 461e2486d2 [2.6] Fixed when should deliver wp_trash_post 2016-11-24 16:07:32 -02:00
Claudio Sanches 5a0c815623 Allow set data using legacy API v3 and WP API integration in webhooks 2016-11-22 22:59:55 -02:00
Claudio Sanches 30f1d0bf66 Allow set api version 2016-11-22 21:49:04 -02:00
Aristeides Stathopoulos f2730eea02 WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd 2016-08-27 08:57:05 +03:00
Aristeides Stathopoulos 82f3cc221e WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeOpenParenthesis 2016-08-27 07:23:02 +03:00
Aristeides Stathopoulos ec8a0b288b PHPCS: WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast 2016-08-27 05:08:49 +03:00
Claudio Sanches 9da3f79f41 Introduces the woocommerce_webhook_order_payload_filters filter 2016-08-18 13:22:13 -03:00
Mike Jolley f7958f2b20 [2.6] Drafts don't have post_date_gmt
Fixes #11686

@claudiosmweb @justinshreve
2016-08-12 12:53:09 +01:00
Justin Shreve cad08747b9 Add bulk edit and quick edit to the list of hooks for the product.updated webhook. 2016-08-03 13:32:02 -07:00
Mike Jolley c3b34ff29e [2.6] Response body should be string in webhook class
Fixes #11514
2016-07-25 12:52:20 +01:00
Mike Jolley 730019ef18 scrutinizer best practice 2016-06-06 19:39:23 +01:00
Mike Jolley 3fd15ad50f Unused vars and code docs 2016-06-06 18:57:24 +01:00
Mike Jolley 9b590dfa75 Prevent both creation and update webhooks firing on product save.
Closes #10970 cc @claudiosmweb
2016-05-27 11:35:16 +01:00
Claudio Sanches c061d93d87 Added X-WC-Webhook-Source header in webhooks 2016-04-28 14:45:13 -03:00
matttallan fc503bb863 Add $arg param to the woocommerce_deliver_webhook_async filter 2016-04-01 17:05:24 +10:00
Claudio Sanches b6376b86c5 Trigger webhook when user edit addresses on frontend, closes #10505 2016-03-08 15:54:13 -03:00
Mike Jolley a043b6d94d Filter at end of should_deliver method 2016-03-03 12:52:58 +00:00
Horrower 875cd46f45 Hook for intercept deliver of webhooks
Let other plugins intercept deliver for some messages queue like rabbit/zeromq

https://github.com/woothemes/woocommerce/issues/10424#issuecomment-190806538
2016-03-01 19:58:27 +03:00
Claudio Sanches 256be9b028 [2.5] Allow send array as webhooks callbacks, closes #10424 2016-02-29 16:23:45 -03:00
Fabio de8f054c82 Add woocommerce_api_create_customer
Added action to trigger 'customer.created' webhook
2016-02-11 17:37:57 -02:00
Fabio c002884e6c Update class-wc-webhook.php 2016-02-11 17:22:02 -02:00
Claudio Sanches 33abd146b5 Fixed translatable strings in WC_Webhook::deliver_ping()
cc @mikejolley
2015-12-09 13:20:53 -02:00
Mike Jolley 60b76f0b97 https://github.com/woothemes/woocommerce/pull/9801 2015-12-09 11:41:18 +00:00
Mike Jolley bcdce81606 Ping webhook delivery URL on save and show errors
Closes #9751 @claudiosmweb
2015-12-04 12:47:30 +00:00
Claudio Sanches ee30b5b308 Fixed php docs standards 2015-11-03 11:31:20 -02:00
Claudio Sanches 0ca5b9f892 Added woocommerce_order_status_changed to order updated webhook, closes #8581 2015-07-15 16:39:11 -03:00
Justin Shreve e88c1bfb9e When the status is changed via bulk actions or by the status button, execute order.updated. 2015-06-05 16:43:24 +00:00
Claudio Sanches 5b00dee203 Implemented wp_safe_remote_* functions for webhooks requests #10 2015-06-01 13:09:21 +01:00
Claudio Sanches 989dd5d88e Improved exclude_from_order_webhook check #8146 2015-05-27 12:46:44 -03:00
Claudio Sanches bc7d73f81f Merge pull request #8146 from mattallan/order_args_exclude_webhooks
New order post type param: exclude_from_order_webhook
2015-05-27 12:29:49 -03:00
matttallan 93d76e33f0 New order post type param: exclude_from_order_webhook
Allows others that are using custom order types to choose whether
webhooks for WC Orders should also be triggered.
More of a CPT approach than adding more hooks and filters :)
2015-05-12 14:01:23 +10:00
Claudio Sanches e6eaf11aa7 Fixed webhook filter name typo, closes #8135 2015-05-10 11:54:15 -03:00
Mike Jolley 5a92126a39 Remove all sslverify false
Closes #8058 cc @claudiosmweb @roykho @barrykooij
2015-05-05 13:39:34 +01:00
Nicola Mustone b6991d869a typo 2015-03-31 17:22:21 +02:00
Claudio Sanches b8e842d2ee Fixed WC_Webhook::enqueue() [2] 2014-12-17 01:48:29 -02:00
Claudio Sanches e0ad955afe Fixed WC_Webhook::enqueue() 2014-12-17 01:44:35 -02:00
Claudio Sanches 4c47def638 Stop hook webhooks when is not configured the hooks and delivery URL 2014-12-16 20:16:38 -02:00
Claudio Sanches b247997bd2 Created method to get the webhook statuses 2014-12-16 18:54:48 -02:00
Claudio Sanches 8180de7fec Created the WC_Webhook::get_i18n_status() method 2014-12-16 15:29:37 -02:00
claudiosmweb 8eeb6fc204 Removed more some unused code 2014-11-19 22:43:09 -02:00
shivapoudel 3a38fba2b0 Absolute path fix for class-wc-webhook.php 2014-09-21 00:48:51 +05:45
Max Rice 7aa031c56a Fix webhook delivery request header format 2014-09-07 16:10:30 -04:00
Max Rice 3c566e3419 Fix webhook delivery log deletion
Use wp_delete_comment() instead of SQL so comment meta is deleted as
well.
2014-07-31 11:52:16 -04:00
Max Rice 572becdcde Introduce WC_Webhook class
Part of #5564
2014-07-30 16:23:22 -04:00