https://github.com/devidw/no-wc-make-loop
Prevent infinite webhook loop between WooCommerce and make.com
https://github.com/devidw/no-wc-make-loop
integromat make make-com woocommerce woocommerce-plugin wordpress wordpress-plugin
Last synced: 2 months ago
JSON representation
Prevent infinite webhook loop between WooCommerce and make.com
- Host: GitHub
- URL: https://github.com/devidw/no-wc-make-loop
- Owner: devidw
- License: unlicense
- Created: 2022-07-28T12:29:25.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-27T09:46:52.000Z (over 2 years ago)
- Last Synced: 2024-10-18T21:04:27.007Z (8 months ago)
- Topics: integromat, make, make-com, woocommerce, woocommerce-plugin, wordpress, wordpress-plugin
- Language: PHP
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
- License: LICENSE
Awesome Lists containing this project
README
= Prevent infinite webhook loop between WooCommerce and make.com
ifdef::env-github[]
:tip-caption: :bulb:
:note-caption: :information_source:
:important-caption: :heavy_exclamation_mark:
:caution-caption: :fire:
:warning-caption: :warning:
endif::[][IMPORTANT]
====
It's recommended to install as *_must use plugin_* instead of a regular WordPress plugin to make sure that the plugin doesn't get deactivated or deleted from the admin interface by mistake. An update loop between WooCommerce and a third party service connected with make will cause a non-stopping back and forth communication between those 3 services, which results in lost resources and money.
====When connecting https://woocommerce.com[WooCommerce] with a third-party service via https://make.com[make.com], where both systems send webhooks to make.com, it is likely you will end up in an infinite loop, where each webhook is sent to make.com, and make.com sends the webhook back to WooCommerce, and so on.
To prevent this from happening, this plugin will prevent WooCommerce from sending webhooks to make.com when incoming requests to the WordPress rest API are made from make.com.