• Resolved mrdmike

    (@mrdmike)


    How do I change the name in the checkout from ‘Wordline for Woocommerce’ to just ‘Credit/Debit Card Payment’

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Krystian from Syde

    (@inpsydekrystian)

    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

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @mrdmike

    Just a quick update on this answer: we decided to add a feature for adjusting the title for “Worldline for WooCommerce” and “Credit cards” soon. I expect this will be available in the release 2.1.0, that should be released after our next 2.0.0 release. Expected within 2 months (hopefully earlier).

    I hope this helps you fix the problem now and resolve it permanently in the future.
    Please let us know if we can close this thread or if you have any further questions for us.

    Kind regards,
    Joost

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @mrdmike

    After reviewing your checkout page, I can see that you’ve achieved the desired outcome. A built-in solution will be introduced in an upcoming release, so please remember to switch to that once it becomes available.

    Since this issue is now resolved, I’ll mark this thread as closed. However, if you have any further questions on this topic, feel free to reopen it. You’re also welcome to start a new thread if you need assistance with anything else.

    Best regards,
    Joost

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.