Forums / Addon Payment Modules / Direct Bank Deposit

Direct Bank Deposit

Views: 78,007

Results 141 to 160 of 164
8 Oct 2024, 5:36 AM
#141
oldngrey avatar

oldngrey

Zen Follower

Join Date:
Apr 2008
Location:
Qld, Australia
Posts:
429
Plugin Contributions:
0

Direct Bank Deposit

The reduced font is caused by the style <pre> within <pre>. Pre reduces the font eg 14pt by 87.5% to 12.25pt and the second pre reduces it again by 87.5% to 10.7pt.

To remove the font reduction edit the lang.dirbankaus.php file and
remove <pre> from line 23, and
remove </pre> from line31.

OldNGrey
ZC222 PHP 8.4.16
MySQL 11.8.5-MariaDB

8 Oct 2024, 11:28 AM
#142
vacuumdog avatar

vacuumdog

New Zenner

Join Date:
Jul 2020
Location:
Traralgon
Posts:
20
Plugin Contributions:
0

Re: Direct Bank Deposit

OldNGrey:

The reduced font is caused by the style <pre> within <pre>. Pre reduces the font eg 14pt by 87.5% to 12.25pt and the second pre reduces it again by 87.5% to 10.7pt.

To remove the font reduction edit the lang.dirbankaus.php file and
remove <pre> from line 23, and
remove </pre> from line31.

<pre> was in line 11 and </pre> was in line 18 in my file?? (AUS) 1.5.8 plugin.

Removed them and it stuffed up the layout.
Replaced <pre> in line 11 with <pre style="font-size: 14px"> and it looks OK.

Attachment 20766

No debug errors so happy so far. Thanks for the help, learning all the time :blink::wacko:

Zen Cart 2.0.1
PHP 8.3.11

19 Dec 2025, 10:21 AM
#143
mikeondraco avatar

mikeondraco

Zen Follower

Join Date:
Feb 2015
Location:
UK
Posts:
165
Plugin Contributions:
0

Re: Direct Bank Deposit

Hi All,

is there a version of this plugin for V2.1 please for the UK?

Michael

19 Dec 2025, 9:06 PM
#144
oldngrey avatar

oldngrey

Zen Follower

Join Date:
Apr 2008
Location:
Qld, Australia
Posts:
429
Plugin Contributions:
0

Re: Direct Bank Deposit

Mikeondraco:

Hi All,
is there a version of this plugin for V2.1 please for the UK?
Michael
V2.1.1 covers Direct Bank Deposit Australia (AUS), Canada (CA), New Zealand (NZ), United Kingdom (UK), United States (USA), South Africa (ZA) and is available in the GitHub https://github.com/OldNGreyBMR/direct_bank_deposit/releases/tag/V2.1.1 .

It has also been submitted to the admins for approval.

Install it in a TEST system to thoroughly test before migrating to your production system.

OldNGrey
ZC222 PHP 8.4.16
MySQL 11.8.5-MariaDB

20 Dec 2025, 10:07 AM
#145
mikeondraco avatar

mikeondraco

Zen Follower

Join Date:
Feb 2015
Location:
UK
Posts:
165
Plugin Contributions:
0

Re: Direct Bank Deposit

Thank you

10 Jan 2026, 1:29 PM
#146
mikeondraco avatar

mikeondraco

Zen Follower

Join Date:
Feb 2015
Location:
UK
Posts:
165
Plugin Contributions:
0

Re: Direct Bank Deposit

OldNGrey:

V2.1.1 covers Direct Bank Deposit Australia (AUS), Canada (CA), New Zealand (NZ), United Kingdom (UK), United States (USA), South Africa (ZA) and is available in the GitHub https://github.com/OldNGreyBMR/direct_bank_deposit/releases/tag/V2.1.1 .

It has also been submitted to the admins for approval.

Install it in a TEST system to thoroughly test before migrating to your production system.

Hi again,

now at the order and payment testing stage, every payment method I use works but this module, when confirming the order I get:

This page isn’t working
xxxxxxx.co.uk is currently unable to handle this request.
HTTP ERROR 500

any ideas where I should look please? ... Michael

11 Jan 2026, 3:33 AM
#147
oldngrey avatar

oldngrey

Zen Follower

Join Date:
Apr 2008
Location:
Qld, Australia
Posts:
429
Plugin Contributions:
0

Re: Direct Bank Deposit

There should be some error log files. Please post the entire contents of the logfile here, and paste it between code tags ##.

I have version 2.1.2 in the GitHub [ https://github.com/OldNGreyBMR/direct_bank_deposit/tree/V2.1.2/UK ]. You can download just the UK files of download the v2.1.2 the entire release and just install the UK section. As plugin this works with ZC v2.1.0 and ZC v2.2.0

OldNGrey
ZC222 PHP 8.4.16
MySQL 11.8.5-MariaDB

11 Jan 2026, 11:36 AM
#148
mikeondraco avatar

mikeondraco

Zen Follower

Join Date:
Feb 2015
Location:
UK
Posts:
165
Plugin Contributions:
0

Re: Direct Bank Deposit

OldNGrey:

There should be some error log files. Please post the entire contents of the logfile here, and paste it between code tags ##.

I have version 2.1.2 in the GitHub [ https://github.com/OldNGreyBMR/direct_bank_deposit/tree/V2.1.2/UK ]. You can download just the UK files of download the v2.1.2 the entire release and just install the UK section. As plugin this works with ZC v2.1.0 and ZC v2.2.0

Hi there,

many thanks for your reply. I have downloaded and installed the v2.1.2 files just in case the issue was there, but to no avail, it still crashes. I have included the error log file below, showing a problem at Line 126, but I confess to not knowing enough to understand it. I would be obliged if you could point me in the right direction. ZenCart v2.1.0 by the way ... Michael

[11-Jan-2026 11:19:25 UTC] PHP Fatal error: Uncaught Error: Undefined constant "MODULE_PAYMENT_DIRBANKUK_TEXT_EMAIL_FOOTER" in /home/nw6kjdksvvuf/public_html/includes/modules/payment/dirbankuk.php:126
Stack trace:
#0 /home/nw6kjdksvvuf/public_html/includes/classes/payment.php(366): dirbankuk->after_order_create()
#1 /home/nw6kjdksvvuf/public_html/includes/modules/checkout_process.php(111): payment->after_order_create()
#2 /home/nw6kjdksvvuf/public_html/includes/modules/pages/checkout_process/header_php.php(13): require('/home/nw6kjdksv...')
#3 /home/nw6kjdksvvuf/public_html/index.php(35): require('/home/nw6kjdksv...')
#4 {main}
thrown in /home/nw6kjdksvvuf/public_html/includes/modules/payment/dirbankuk.php on line 126

[11-Jan-2026 11:19:25 UTC] Request URI: /index.php?main_page=checkout_process, IP address: 92.40.190.125
--> PHP Fatal error: Uncaught Error: Undefined constant "MODULE_PAYMENT_DIRBANKUK_TEXT_EMAIL_FOOTER" in /home/nw6kjdksvvuf/public_html/includes/modules/payment/dirbankuk.php:126
Stack trace:
#0 /home/nw6kjdksvvuf/public_html/includes/classes/payment.php(366): dirbankuk->after_order_create()
#1 /home/nw6kjdksvvuf/public_html/includes/modules/checkout_process.php(111): payment->after_order_create()
#2 /home/nw6kjdksvvuf/public_html/includes/modules/pages/checkout_process/header_php.php(13): require('/home/nw6kjdksv...')
#3 /home/nw6kjdksvvuf/public_html/index.php(35): require('/home/nw6kjdksv...')
#4 {main}
thrown in /home/nw6kjdksvvuf/public_html/includes/modules/payment/dirbankuk.php on line 126.

[11-Jan-2026 11:19:25 UTC] Request URI: /index.php?main_page=checkout_process, IP address: 92.40.190.125
--> PHP Fatal error: Uncaught Error: Undefined constant "MODULE_PAYMENT_DIRBANKUK_TEXT_EMAIL_FOOTER" in /home/nw6kjdksvvuf/public_html/includes/modules/payment/dirbankuk.php:126
Stack trace:
#0 /home/nw6kjdksvvuf/public_html/includes/classes/payment.php(366): dirbankuk->after_order_create()
#1 /home/nw6kjdksvvuf/public_html/includes/modules/checkout_process.php(111): payment->after_order_create()
#2 /home/nw6kjdksvvuf/public_html/includes/modules/pages/checkout_process/header_php.php(13): require('/home/nw6kjdksv...')
#3 /home/nw6kjdksvvuf/public_html/index.php(35): require('/home/nw6kjdksv...')
#4 {main}
thrown in /home/nw6kjdksvvuf/public_html/includes/modules/payment/dirbankuk.php on line 126.

12 Jan 2026, 12:30 AM
#149
oldngrey avatar

oldngrey

Zen Follower

Join Date:
Apr 2008
Location:
Qld, Australia
Posts:
429
Plugin Contributions:
0

Re: Direct Bank Deposit

I have managed to replicate the issue with DirbankUK and am working on it.

OldNGrey
ZC222 PHP 8.4.16
MySQL 11.8.5-MariaDB

12 Jan 2026, 3:54 AM
#150
oldngrey avatar

oldngrey

Zen Follower

Join Date:
Apr 2008
Location:
Qld, Australia
Posts:
429
Plugin Contributions:
0

Re: Direct Bank Deposit

My error.
The quickest way is to edit the language file.

In the file "\zc_plugins\DirectBankDepositUK\V2.1.2\catalog\includes\languages\english\modules\payment\lang.dirbankuk.php"


  1. on line 29
    change ```
    $define['MODULE_PAYMENT_DIRBANKAUS_TEXT_EMAIL_FOOTER'] to $define['MODULE_PAYMENT_DIRBANK[B]UK[/B]_TEXT_EMAIL_FOOTER']
2. on line 39 
change ```
$define['MODULE_PAYMENT_DIRBANKAUS_HTML_EMAIL_FOOTER' to 
$define['MODULE_PAYMENT_DIRBANK[B]UK[/B]_HTML_EMAIL_FOOTER'

changes are shown in red.

If you are not comfortable editing the files, I have updated the GitHub https://github.com/OldNGreyBMR/direct_bank_deposit/releases/tag/V2.1.2

OldNGrey
ZC222 PHP 8.4.16
MySQL 11.8.5-MariaDB

12 Jan 2026, 9:24 AM
#151
mikeondraco avatar

mikeondraco

Zen Follower

Join Date:
Feb 2015
Location:
UK
Posts:
165
Plugin Contributions:
0

Re: Direct Bank Deposit

Good Morning - well, here at least...

Many thanks for this, I have no problem editing the files once I know what I am doing.

Thanks again for your help ... Michael

13 Jan 2026, 11:29 AM
#152
mikeondraco avatar

mikeondraco

Zen Follower

Join Date:
Feb 2015
Location:
UK
Posts:
165
Plugin Contributions:
0

Re: Direct Bank Deposit

Just popped back to say all now working as it should. Thanks again for your help ... Michael

27 Jan 2026, 10:54 AM
#153
dustie avatar

dustie

Zen Follower

Join Date:
Nov 2010
Posts:
159
Plugin Contributions:
0

Re: Direct Bank Deposit

Hi,

I have installed this app, and even though everything seems to be working, there is one issue I can't seem to figure out.

I am using the UK version for my Webshop based in switzerland. ZC Version 2.1.0 Checkout OPC I also use Stripe. I sell downloads as well as physical products.

So my problem. If I add only downloads to the cart, the direct payment doesn't shows up in the payment method, but if I add a physical product it shows up. The Set Order Status is on Pending so that customers can't download the product until I have recieved the payment.

I tested this by install the check/money method and this works for digital only products. It shows up on the payment method and the downloads are only possible after payment is received, so why is it not working for the Direct Bank Deposit in the same way?

Thanks for your help.

29 Jan 2026, 3:37 PM
#154
dustie avatar

dustie

Zen Follower

Join Date:
Nov 2010
Posts:
159
Plugin Contributions:
0

Re: Direct Bank Deposit

Dustie:

Hi,

I have installed this app, and even though everything seems to be working, there is one issue I can't seem to figure out.

I am using the UK version for my Webshop based in switzerland. ZC Version 2.1.0 Checkout OPC I also use Stripe. I sell downloads as well as physical products.

So my problem. If I add only downloads to the cart, the direct payment doesn't shows up in the payment method, but if I add a physical product it shows up. The Set Order Status is on Pending so that customers can't download the product until I have recieved the payment.

I tested this by install the check/money method and this works for digital only products. It shows up on the payment method and the downloads are only possible after payment is received, so why is it not working for the Direct Bank Deposit in the same way?

Thanks for your help.

I was hoping someone can help me with this issue? Not sure if it helps but I am using Bootstrap. Or am I asking in the wrong place?

29 Jan 2026, 3:54 PM
#155
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,973
Plugin Contributions:
8

Re: Direct Bank Deposit

in the UK version, look at around line 91 for this section of code:

// disable the module if the order only contains virtual products
      if ($this->enabled == true) {
        if ($order->content_type == 'virtual') {
          $this->enabled = false;
        }
      }
    }

change the one line to:

//      $this->enabled = false;

and you should be good to go.

best.

author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.

29 Jan 2026, 8:09 PM
#156
dustie avatar

dustie

Zen Follower

Join Date:
Nov 2010
Posts:
159
Plugin Contributions:
0

Re: Direct Bank Deposit

carlwhat:

in the UK version, look at around line 91 for this section of code:

// disable the module if the order only contains virtual products
if ($this->enabled == true) {
if ($order->content_type == 'virtual') {
$this->enabled = false;
}
}
}

> 
> change the one line to:
> 
> ```php
//      $this->enabled = false;

and you should be good to go.

best.

HI thank you so much. Unfortunately, I am not really understanding what I have to change. I changed the line that has true into false, cause it's the only one that made sense. It shows up now if I only have a digital product in the cart, but when I check out it gives me an error at checkout. (HTTP ERROR 500)

Help please.

What part of this text do I have to change?

// disable the module if the order only contains virtual products
if ($this->enabled == true) {
if ($order->content_type == 'virtual') {
$this->enabled = false;
}
}
}

Thank you

30 Jan 2026, 2:30 AM
#157
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,973
Plugin Contributions:
8

Re: Direct Bank Deposit

i will try again.

all you are doing is adding 2 forward slashes (//) to line 94 of:

includes/modules/payment/dirbankuk.php

look at around line 91 for this section of code:

// disable the module if the order only contains virtual products
      if ($this->enabled == true) {
        if ($order->content_type == 'virtual') {
          $this->enabled = false;
        }
      }
    }

change the one line as i previously indicated so that same section now looks like:

// disable the module if the order only contains virtual products
      if ($this->enabled == true) {
        if ($order->content_type == 'virtual') {
//          $this->enabled = false;
        }
      }
    }

if i am somehow unclear as to what i am suggesting to do, i would recommend someone else trying to explain it to you; or perhaps hiring someone to make the change.

if before you could checkout fine, and now you are getting a 500 error, that would suggest to me you have not correctly made the modification that i am recommending.

best.

author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.

30 Jan 2026, 1:15 PM
#158
dustie avatar

dustie

Zen Follower

Join Date:
Nov 2010
Posts:
159
Plugin Contributions:
0

Re: Direct Bank Deposit

carlwhat:

i will try again.

all you are doing is adding 2 forward slashes (//) to line 94 of:

includes/modules/payment/dirbankuk.php

look at around line 91 for this section of code:

// disable the module if the order only contains virtual products
if ($this->enabled == true) {
if ($order->content_type == 'virtual') {
$this->enabled = false;
}
}
}

> 
> change the one line as i previously indicated so that same section now looks like:
> 
> ```php
// disable the module if the order only contains virtual products
      if ($this->enabled == true) {
        if ($order->content_type == 'virtual') {
//          $this->enabled = false;
        }
      }
    }

if i am somehow unclear as to what i am suggesting to do, i would recommend someone else trying to explain it to you; or perhaps hiring someone to make the change.

if before you could checkout fine, and now you are getting a 500 error, that would suggest to me you have not correctly made the modification that i am recommending.

best.
Hi, Thanks for your reply.

I have made the changes as per your recommendation, but it seems the error must be coming from something else. I uninstalled the whole app and reinstalled it, without making any changes, I tested it and it gives an error regardless of what I order, physical or digital products. Strange is that it shows the order in Admin, but no confirmation email, nor are downloads showing on the invoice.

I will get someone to look at it...

Thank you

16 Feb 2026, 4:41 AM
#159
oldngrey avatar

oldngrey

Zen Follower

Join Date:
Apr 2008
Location:
Qld, Australia
Posts:
429
Plugin Contributions:
0

Re: Direct Bank Deposit

Thanks carlwhat. I've been offline and just catching up now.
I'll update the documentation to explain the change.

OldNGrey
ZC222 PHP 8.4.16
MySQL 11.8.5-MariaDB

22 Feb 2026, 4:19 AM
#160
oldngrey avatar

oldngrey

Zen Follower

Join Date:
Apr 2008
Location:
Qld, Australia
Posts:
429
Plugin Contributions:
0

Re: Direct Bank Deposit

I have updated Direct Bank Deposit to V2.1.2. It is available from my GitHub https://github.com/OldNGreyBMR/direct_bank_deposit/releases/tag/V2.1.2 and has been submitted to the plugins for admin approval.
The readme file has more detailed instructions with a note about virtual products.
This version is encapsulated for Zen Cart 2.10 and greater. There are also detailed instructions on how to extract the files to run on Zen Cart versions below v2.1.0.

OldNGrey
ZC222 PHP 8.4.16
MySQL 11.8.5-MariaDB