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.
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.
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 “”.
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.