Documentation

Define | Add delay to webhook

Warning

Note

Just a heads-up: This document is a friendly guide intended for developers and designers. A bit of PHP know-how is needed to get the most out of it.

Please remember, while we love to be helpful, our support policy doesn’t extend to customizations.

Think of any sample code we provide as a starting point or inspiration for your projects!

Description

The “ag_webhook_delay” setting in the AG plugin allows you to set a delay for webhook notifications from Tyl, which update your website with order statuses. This setting is particularly useful if your system is recording multiple notes for a single order, suggesting that updates are being processed too quickly. By adjusting the delay, you provide your system with sufficient time to handle updates one at a time, preventing server overload and ensuring accurate order tracking.

For a hassle-free experience, we suggest using a third-party plugin like Code Snippets to add this code. It’s a smoother alternative to diving into your theme’s function.php file.

Was this helpful?

Tyl by NatWest

Don't already have the plugin? Get access now.

Still need help?

Our team are on hand to provide fast, helpful and professional support.

Support request
All systems operational

Back End Demo

Start exploring our fully functional demo site today.
Gain exclusive admin access to see what's possible.

Create your demo now

Front End Demo

Test drive our plugin on the demo site.

View Demo