• Resolved cromapc25

    (@cromapc25)


    Hi, please could you help me change the name of the payment method. Currently it appears to me like this: “woocg-post-44382” and I need it to be: “Cuenta DNI”. You hade upload a filter a time ago but i can′t find it. Thank You!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Richard Muvirimi

    (@tygalive)

    Hi, Thank you for using this plugin. There is a filter to change the id of a payment gateway i.e woo-custom-gateway-gateway-id. This has to be unique that’s why it cannot be changed through an interface

    Thread Starter cromapc25

    (@cromapc25)

    Hello, thank you very much for the answer.
    I don’t know very well how I should create the code for this filter. Could you tell me it please?
    I would like the payment gateway to be called “Cuenta-DNI”. That code goes in functions.php of the theme?

    Regards,
    Patricio

    Plugin Author Richard Muvirimi

    (@tygalive)

    In order to implement this, you should be familiar with basic WordPress filters, the code you need is in woo-custom-gateway\src\Helpers\Functions.php:214.

    Registering this filter on woocommerce_payment_gateways or earlier should be fine.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change the name of the payment method’ is closed to new replies.