• Resolved jatiyanon

    (@jatiyanon)


    How can I remove “Bank Account Details” in every place?

    I remove “Bank Account Details” in BACS payment method with remove_action from woocommerce default function.

    But with this plugin still add that details, can I customize to remove it from thank you page or e-mail notification with an appropriate solution such as override function in my function.php .

    Thank you, awesome plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor jomo

    (@jonathanmoorebcsorg)

    Bank Account details is the special feature of BACS payment, so if you don’t want bank account details, don’t use the BACS payment gateway.
    For example if you just want to have an option for generic ‘other payment method’ that is not bank transfer then you can relabel and translate the Cheque payment gateway [that’s what I do anyway].

    If you need the BACS Gateway you can find the code here:
    wp-content/plugins/woo-poly-integration/src/Hyyan/WPI/Gateways/GatewayBACS.php

    If you have a specific issue or proposal for the BACS gateway you can raise it in github: https://www.ads-software.com/plugins/woo-poly-integration/
    but it would need more explanation of the use case: otherwise a request to turn off the bank details from BACS payment is a bit like asking to turn off Paypal on the Paypal gateway, it is the main feature of that gateway ..

    Thread Starter jatiyanon

    (@jatiyanon)

    Thank you for the suggestion.

    T^T, because I have custom my own account details but the plugin still add old account details format. I just want to disable/remove account detail part in the plugin and show only my custom.

    see screenshot: https://image.ibb.co/ijxhpQ/Untitled.png

    Plugin Contributor jomo

    (@jonathanmoorebcsorg)

    Well ok, 3 possibilities:

    1. you convert your customization to a custom Gateway rather than modification of the standard gateway.
    2. you convert your customization to an extension of the Cheque gateway rather than the BACS gatewy
    3. you propose the modification to this plugin for your option via a pull request on GitHub (I’m not sure if it would be accepted, if that is really a good use case)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How can I remove “Bank Account Details” in every place?’ is closed to new replies.