This guide explains how to exclude specific payment product IDs from your payment options using the ag_exclude_product_ids
filter.
By default, all available payment methods are presented to your customers during checkout. However, you may wish to exclude certain payment methods based on your business needs. The ag_exclude_product_ids
filter allows you to customise which payment product IDs are excluded from the available payment options.
Add the following code to your theme’s functions.php
file or a custom plugin:
functions.php
file or create a custom plugin.5408
and 5678
with the payment product IDs you wish to exclude. Refer to the Worldline documentation for a list of IDs.Was this helpful?
Our team are on hand to provide fast, helpful and professional support.
Start exploring our fully functional demo site today.
Gain exclusive admin access to see what's possible.