Hello @mrdmike
There is no option in the plugin to modify the gateway name directly, but you can achieve the same outcome with a simple code snippet. Add the following code to your theme’s functions.php file:
function custom_worldline_payment_title($title, $payment_id) {
if ($payment_id === 'worldline-for-woocommerce') {
return 'Credit/Debit Card Payment';
}
return $title;
}
add_filter('woocommerce_gateway_title', 'custom_worldline_payment_title', 10, 2);
This will replace “Worldline for WooCommerce” with “Credit/Debit Card Payment” at checkout.
Alternatively, if you prefer not to edit functions.php
directly, you can use the Code Snippets plugin, which allows you to add custom code without modifying theme files. You can download it here: Code Snippets Plugin.
I tested this on my end, works fine. Let me know if you need further assistance.
Kind Regards,
Krystian