Documentation

Add_filter | Multiple Tyl accounts

Warning

Note

We have provided a documentation guide for a custom WordPress filter that enables merchants to use multiple Tyl accounts on their website.

Please note that this guide is intended for developers and designers with some knowledge of PHP.

It’s important to understand that we do not offer customization services as part of our support policy, but we provide sample code as a reference.

This filter function enables you to define multiple Tyl accounts on your website, allowing you to switch between accounts based on the order ID. The sample code provided below creates an array to hold the account details, including the store name and shared secret key.

Please use the following sample code as a reference and modify it as per your requirements:

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

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

AG Bot (BETA)

Ask our bot about our products.

Welcome to our AG Bot, powered by OpenAI and trained on our documents and product pages. By continuing to use this service, please keep in mind:

Your continued use indicates acceptance of these terms. We hope you find our AI Chatbot useful!

Hello! I am AG Bot, how can I help you?