GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - harunsekmen/woo-webhook-resilience: Reliable webhook delivery and retry manager for WooCommerce. Retries failed order notifications to shipping, ERP, and CRM tools.

BranchesTags
Open more actions menu

Latest commit

 

History

6 Commits
6 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
assets
assets
 
 
docs/assets
docs/assets
 
 
includes
includes
 
 
templates
templates
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
README.tr.md
README.tr.md
 
 
composer.json
composer.json
 
 
woo-webhook-resilience.php
woo-webhook-resilience.php
 
 

Repository files navigation

📡 WooCommerce Resilient Webhook Dispatcher

🇬🇧 English · 🇹🇷 Türkçe

WooCommerce HPOS Ready License: GPL-3.0 PHP: 8.1+

A reliable webhook delivery and retry manager for WooCommerce. Prevents dropped order notifications to external ERP, CRM, and shipping services when third-party servers experience temporary downtime.

Developed and maintained by Harun Sekmen — E-Commerce Systems Engineer & WooCommerce Developer.

✉️ Discuss System Integrations · 💼 Upwork Profile · 🔗 Main GitHub Profile


📸 Visual Previews & Operational Interface

WordPress Admin Webhook Retry & Error Console

Store administrators can inspect failed webhook attempts, monitor third-party response codes, and trigger immediate manual payload replays:

WooCommerce Webhook DLQ Console


⚡ The Problem It Solves

WooCommerce webhooks are essential for automatically notifying external business systems—such as warehouse fulfillment providers (ShipStation), customer platforms (Klaviyo, HubSpot), accounting software, or custom ERPs—whenever a customer places an order or updates their account.

However, native webhook deliveries can run into real-world issues:

  • Silent Delivery Drops: If the destination server experiences a momentary network timeout, rate limit, or 500 error, the webhook delivery often fails silently.
  • Untracked Orders: Warehouse fulfillment teams never receive the order alert, leading to delayed shipments and unhappy customers before anyone notices the error.
  • No Simple Replay: Native WooCommerce does not offer an easy button to re-send a specific failed webhook payload without manually flipping order statuses back and forth.

WooCommerce Resilient Webhook Dispatcher ensures dependable communication with third-party tools. If a delivery fails, it is automatically scheduled for retry at spaced intervals and logged in a visual WP Admin dashboard, where store managers can inspect the exact payload and replay it with one click.



🏗️ Architecture & Dead-Letter Queue Pipeline

How outgoing order webhooks are protected with Action Scheduler exponential retry and isolated dead-letter handling:

flowchart LR
    A[Order Completed Event] --> B[Webhook Dispatcher]
    B --> C{Delivery Success?}
    C -- 200 OK --> D[Mark Delivered & Archive]
    C -- Timeout / 5xx Error --> E[Action Scheduler Queue]
    E --> F[Exponential Backoff Retry 1, 2, 3...]
    F --> G{Max Retries Exceeded?}
    G -- No --> B
    G -- Yes --> H[Dead Letter Queue DLQ]
    H --> I[Admin Alert & Manual Replay UI]
Loading

🛠️ Key Architectural Features

  • Automated Retry Scheduling: Automatically retries failed webhook deliveries at spaced intervals (e.g., +1m, +5m, +15m, +1h, +6h) before marking them for review.
  • Failed Delivery Queue: Preserves intact JSON payloads, HTTP response codes, and error messages for complete transparency.
  • 1-Click Manual Replay: Re-send any failed notification directly from the WordPress Admin table without touching the order status.
  • Background Processing via Action Scheduler: Retries run completely in the background without affecting store checkout performance.
  • High-Performance Order Storage (HPOS) Ready: Built to support modern WooCommerce custom order tables and standard webhook actions.

💼 Custom Integrations & Business Automation

Need your WooCommerce store connected reliably to external APIs and services?

  • Custom ERP & CRM Integrations: Dependable two-way syncing with HubSpot, Klaviyo, Zoho, Odoo, or proprietary ERPs.
  • Fulfillment & Shipping Connections: Automated order handoffs to warehouse networks, local couriers, and tracking updates.
  • Accounting & Invoicing Feeds: Automated invoice generation and tax synchronization.
  • Resilient Webhook Handlers: Custom endpoints designed to handle third-party downtime gracefully.

📩 Discuss your integration: Email [email protected] or reach out via Upwork.


🚀 Developer Setup & Local Testing

  1. Clone into plugins directory:

    git clone https://github.com/harunsekmen/woo-webhook-resilience.git wp-content/plugins/woo-webhook-resilience
  2. Activate via WP-CLI:

    wp plugin activate woo-webhook-resilience
  3. Inspect the retry console: Go to WooCommerce > Webhook Queue in WordPress Admin to review delivery logs and test manual replays.


📄 License

This open-source project is licensed under the GNU General Public License v3.0.

About

Reliable webhook delivery and retry manager for WooCommerce. Retries failed order notifications to shipping, ERP, and CRM tools.

github.com/harunsekmen/woo-webhook-resilience

Topics

action-schedulercrm-integrationdead-letter-queueenterpriseerp-integrationexponential-backoffreliabilityretry-handlerwebhookswoocommercewordpress

Resources

Readme
License
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.