• Resolved Tom M

    (@tominthephilippines)


    Hi there,

    I’m also offering Direct Bank Transfers via my website. When I just checked the settings while setting up a new store, I noticed that the field “Account number” is a required field. I only have an IBAN nr., so there’s nothing to fill in that field, and thus I can’t save this payment method.

    Screenshot

    Is there any way this could be adjusted?

    Cheers,
    Tom

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there,

    Thanks for reaching out!

    The “Account number” field in the Direct Bank Transfer (BACS) settings is required by default, and currently, there’s no built-in option to leave that field empty.

    If you’d like to see an option to make this field optional in a future release, I recommend submitting a feature request here:
    👉 https://woocommerce.com/feature-requests/woocommerce/

    Our developers regularly review feature requests, and your suggestion could help improve flexibility for users who rely on IBANs only.

    Saif

    (@babylon1999)

    Hello @tominthephilippines!

    This validation appears to be only on the client-side, so you can bypass it by modifying the request. Here’s how (I’m using Firefox, by the way):

    1- First, delete the existing account you’ve added.

    2 – On the same page, press F12 or right-click and select “Inspect Element.” Go to the Network tab.

    3 – Now, fill out the form normally and add a dummy account number, then click both “Save” and “Save Changes.”

    4- Look for the POST request that adds the account; it should be the same one in the screenshot below.

    5- Right-click the request and select “Edit and Resend.”

    6- Scroll down until you see the request body and delete the account number value “123” highlighted in the screenshot, and click “Send.” Make sure to keep the body structure intact, just remove the value in this case (123) and keep it an empty string “”.


    7- Refresh the page.


    Hope this helps!

    Hi @babylon1999,

    Thank you for the clear explanation and for providing such a helpful, step-by-step solution. I truly appreciate the time you took to share this with us.

    @tominthephilippines Please give these steps a try and see if they resolve the issue. If not, you’re welcome to go ahead and submit a request.

    In the meantime, if you’re both finding the WooCommerce plugin useful, we’d be grateful if you could leave a review here: https://wordpress.org/support/plugin/woocommerce/reviews/#new-post

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Direct Bank Transfer – account number required but not available’ is closed to new replies.