Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2004
    Posts
    506
    Plugin Contributions
    0

    Default [DONE v1.3.8] Order status for freecharger

    Hi,

    We have taken our upgraded store (1.37) live and are having a small issue. I have the freecharger downloads set to delivered and the paypal ipn downloads set to processing to keep them separate for bookkeeping purposes. It was working fine with our previous version of zen cart.

    Now all downloads are showing as processing even though they are set correctly. I deleted and tried to reset but it did not help.

    Any suggestions as to what else I should do?

    Thanks

    Rick

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,649
    Plugin Contributions
    6

    Default Re: Order status for freecharger

    Currently, it appears to be picking up the setting for the:

    Configuration ... GV Coupon ...
    Default Order Status For Zero Balance Orders
    When an order's balance is zero, this order status will be assigned to it.
    Isn't that moofy?

    Moving this to Bug Reports ... thanks!
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,649
    Plugin Contributions
    6

    Default Re: Order status for freecharger

    Try this solution ...

    Edit the file:
    /includes/classes/orders.php

    Replace the top of the function create, approximately at line 560, with this code:
    PHP Code:
      function create($zf_ot_modules$zf_mode 2) {
        global 
    $db;

        if (
    $this->info['total'] == 0) {
          if (
    DEFAULT_ZERO_BALANCE_ORDERS_STATUS_ID == 0) {
            
    $this->info['order_status'] = DEFAULT_ORDERS_STATUS_ID;
          } else {
            if (
    $_SESSION['payment'] != 'freecharger') {
              
    $this->info['order_status'] = DEFAULT_ZERO_BALANCE_ORDERS_STATUS_ID;
            }
          }
        }

        if (
    $_SESSION['shipping'] == 'free_free') {
          
    $this->info['shipping_module_code'] = $_SESSION['shipping'];
        } 
    Be sure to test this for all other Payment modules as well ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  4. #4
    Join Date
    Aug 2004
    Posts
    506
    Plugin Contributions
    0

    Default Re: Order status for freecharger

    I tested out the payment options and they all seem to work correctly now.

    Thanks

    Rick

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,649
    Plugin Contributions
    6

    Default Re: Order status for freecharger

    Thanks for the update and testing this out!
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

 

 

Similar Threads

  1. Orders- Update status of order, delete order or print order paperwork.
    By dandownunder in forum Managing Customers and Orders
    Replies: 6
    Last Post: 8 Aug 2006, 09:11 AM

Bookmarks

Posting Permissions

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