Zen Cart Logo
Forums / General Questions / Download Product Payment Method - Direct Bank Deposit doesn't show

Download Product Payment Method - Direct Bank Deposit doesn't show

Locked

Views: 3,946

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
7 Oct 2007, 9:21 AM
#1
webgaffer avatar

webgaffer

New Zenner

Join Date:
Apr 2007
Posts:
20
Plugin Contributions:
0

Download Product Payment Method - Direct Bank Deposit doesn't show

During checkout the payment method for Direct Bank Deposit doesn't show up for a download product but shows for others.

7 Oct 2007, 3:56 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,616
Plugin Contributions:
0

Re: Download Product Payment Method - Direct Bank Deposit doesn't show

Was the module created from the COD module? If so, you will need to make some changes as COD is never allowed for Downloads.

8 Oct 2007, 9:10 AM
#3
webgaffer avatar

webgaffer

New Zenner

Join Date:
Apr 2007
Posts:
20
Plugin Contributions:
0

Re: Download Product Payment Method - Direct Bank Deposit doesn't show

I took a look at includes/modules/payment/dirbank.php and found...

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

I changed this to

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

It now works OK and the Direct Bank Transfer shows up for download products.

4 Nov 2007, 5:33 AM
#4
zend avatar

zend

New Zenner

Join Date:
Apr 2006
Posts:
6
Plugin Contributions:
0

Re: Download Product Payment Method - Direct Bank Deposit doesn't show

Thanks Webgaffer for coming back with this info. I spent a few hours on the same problem because the test product I made happened to be virtual. I'd never have found the solution without you!

4 Nov 2007, 5:53 AM
#5
zend avatar

zend

New Zenner

Join Date:
Apr 2006
Posts:
6
Plugin Contributions:
0

Re: Download Product Payment Method - Direct Bank Deposit doesn't show

oops! Just noticed the readme that comes with the module mentions a "virtual products switch". It stands out more when you know.

31 Jan 2009, 6:03 PM
#6
steveuk avatar

steveuk

New Zenner

Join Date:
Jan 2009
Posts:
3
Plugin Contributions:
0

Re: Download Product Payment Method - Direct Bank Deposit doesn't show

Hi just incase anyone reads this
i had this problem with the uk ONLINE BANK module
but i had to edit my php with the below for it to show up slightly different from above:

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

Hope this might help anyone

28 Mar 2009, 12:40 PM
#7
remoteone avatar

remoteone

Zen Follower

Join Date:
Jan 2009
Location:
Macclesfield, South Australia
Posts:
104
Plugin Contributions:
0

Re: Download Product Payment Method - Direct Bank Deposit doesn't show

zend:

oops! Just noticed the readme that comes with the module mentions a "virtual products switch". It stands out more when you know.

Ok where is this "virtual products switch" ?

18 Nov 2009, 1:15 AM
#8
wolfsz avatar

wolfsz

Zen Follower

Join Date:
Mar 2006
Location:
Australia
Posts:
286
Plugin Contributions:
3

Re: Download Product Payment Method - Direct Bank Deposit doesn't show

Just had to update my own site, so if you are wondering about the swtich
The switch is in the file listed above:
includes/modules/payment/dirbank.php look for line 66 or close by and
then change from false to true as outlined above.

24 Nov 2009, 12:34 PM
#9
didee avatar

didee

Zen Follower

Join Date:
Jan 2009
Location:
Queensland, Australia
Posts:
115
Plugin Contributions:
0

Re: Download Product Payment Method - Direct Bank Deposit doesn't show

Hi, I have the simple bank deposit module and have been struggling for a few weeks trying to get this to work with my downloads. I have tried all of the above, ut I dont seem to have this code
// disable the module if the order only contains virtual products
if ($this->enabled == false) {
if ($order->content_type == 'virtual') {
$this->enabled = true;

...I have looked till my eyes are square....wonder if I just put the code in myself..
thanks

24 Nov 2009, 9:34 PM
#10
wolfsz avatar

wolfsz

Zen Follower

Join Date:
Mar 2006
Location:
Australia
Posts:
286
Plugin Contributions:
3

Re: Download Product Payment Method - Direct Bank Deposit doesn't show

If you have the dirbank module installed then there is a file called includes/modules/payment/dirbank.php if you don't have that file then it might be a different module you have installed. You can also check from your admin panel > Modules > Payment and there you should see: a module called: "Direct Bank Deposit". If that is not the case maybe consider to un-install the one you have a get the dirbank module instead.

25 Nov 2009, 8:15 AM
#11
didee avatar

didee

Zen Follower

Join Date:
Jan 2009
Location:
Queensland, Australia
Posts:
115
Plugin Contributions:
0

Re: Download Product Payment Method - Direct Bank Deposit doesn't show

steveuk:

Hi just incase anyone reads this
i had this problem with the uk ONLINE BANK module
but i had to edit my php with the below for it to show up slightly different from above:

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

Hope this might help anyone

I have downloaded and installed another DD bank module with above code.
Have changed my code to ....

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

But still not working with downloads. If I change it to the code that steveuk suggests, then it ignores my zones to only have DD for australia and enables the DD for US as well...??? so not sure on what to do now.

27 Nov 2009, 5:17 AM
#12
didee avatar

didee

Zen Follower

Join Date:
Jan 2009
Location:
Queensland, Australia
Posts:
115
Plugin Contributions:
0

Re: Download Product Payment Method - Direct Bank Deposit doesn't show

Just an update on this module. I had an digital order this morning, but for some reason, the order goes to paypal, but the transactiond doesnt go thru. I notice that on the invoice, it shows payment type as direct debit and gives my banking information. Trouble is.... I have only enabled this to work with Australia. I have had to delete the module completely so as my customers from the US and UK can to their purchase thru paypal. Not sure what is happening, but just not working on my site. Sales go thru fine when this module is not there.
Think I will just stick with Paypal. and not give any options.