Page 16 of 16 FirstFirst ... 6141516
Results 151 to 159 of 159
  1. #151
    Join Date
    Feb 2015
    Location
    UK
    Posts
    165
    Plugin Contributions
    0

    Default 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

  2. #152
    Join Date
    Feb 2015
    Location
    UK
    Posts
    165
    Plugin Contributions
    0

    Default Re: Direct Bank Deposit

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

  3. #153
    Join Date
    Nov 2010
    Posts
    155
    Plugin Contributions
    0

    Default 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.

  4. #154
    Join Date
    Nov 2010
    Posts
    155
    Plugin Contributions
    0

    Default Re: Direct Bank Deposit

    Quote Originally Posted by Dustie View Post
    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?

  5. #155
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,889
    Plugin Contributions
    13

    Default Re: Direct Bank Deposit

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

    PHP 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 Code:
    //      $this->enabled = false; 
    and you should be good to go.

    best.
    author of square Webpay.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  6. #156
    Join Date
    Nov 2010
    Posts
    155
    Plugin Contributions
    0

    Default Re: Direct Bank Deposit

    Quote Originally Posted by carlwhat View Post
    in the UK version, look at around line 91 for this section of code:

    PHP 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 Code:
    //      $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

  7. #157
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,889
    Plugin Contributions
    13

    Default 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:

    PHP 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 Code:
    // 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.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  8. #158
    Join Date
    Nov 2010
    Posts
    155
    Plugin Contributions
    0

    Default Re: Direct Bank Deposit

    Quote Originally Posted by carlwhat View Post
    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:

    PHP 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 Code:
    // 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

  9. #159
    Join Date
    Apr 2008
    Location
    Qld, Australia
    Posts
    373
    Plugin Contributions
    6

    Default 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
    ZC158a PHP 8.2.15
    MySQL 10.6.16-MariaDB

 

 
Page 16 of 16 FirstFirst ... 6141516

Similar Threads

  1. v154 Module for Paying Bill through Bank Account / Direct Bank Deposit
    By jolliejollie in forum Addon Payment Modules
    Replies: 0
    Last Post: 23 Mar 2015, 06:04 PM
  2. v151 Direct Bank Deposit V1.5.2 - Modification
    By bruce429 in forum Addon Payment Modules
    Replies: 2
    Last Post: 24 May 2014, 04:33 AM
  3. Installing Direct Bank Deposit Module
    By AirNewZealand15 in forum Addon Payment Modules
    Replies: 11
    Last Post: 5 May 2011, 09:11 PM
  4. Direct Bank Deposit - Can I add more than 1 bank account?
    By wanor in forum Addon Payment Modules
    Replies: 0
    Last Post: 27 Oct 2010, 05:56 PM
  5. Direct Bank Deposit module on 1.3.0.2
    By robax in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 27 Aug 2006, 12:31 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg