osCmax v2.5 User Manual
Results 1 to 2 of 2

[Bug Fix] Low order Fee not Working with AuthorizeNet

This is a discussion on [Bug Fix] Low order Fee not Working with AuthorizeNet within the osCmax v1.7 Discussion forums, part of the osCmax v1.7 Forums category; Bug Description The Order Total module low order fee is not working with Authorize Net. The low order fee will ...

      
  1. #1
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default [Bug Fix] Low order Fee not Working with AuthorizeNet

    Bug Description

    The Order Total module low order fee is not working with Authorize Net. The low order fee will display properly during checkout, but it is not sent to Authorizenet.


    Bug Fix

    To fix this, either download the attached zip file and replace checkout_process.php with the file included in the zip, or manually edit the code making the following change:

    Find this code:

    Code:
      require(DIR_WS_CLASSES . 'order_total.php');
      $order_total_modules = new order_total;
    
      $order_totals = $order_total_modules->process();
    And move it from below the Authorizenet mod code block, to just above it like this:

    Code:
      require(DIR_WS_CLASSES . 'order_total.php');
      $order_total_modules = new order_total;
    
      $order_totals = $order_total_modules->process();
    
      //************************************************************
      // Authorizenet ADC Direct Connection
      // Make sure the /catalog/includes/class/order.php is included
      // and $order object is created before this!!!
      if(MODULE_PAYMENT_AUTHORIZENET_STATUS) {
       include(DIR_WS_MODULES . 'authorizenet_direct.php');
      }
      //************************************************************
    That will fix it.
    Attached Files Attached Files
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  2. #2
    Anonymous
    Guest


    Default

    thank you for posting this fix. I just started using the low order fee and could not figure out why it would not show up on the credit card.

Similar Threads

  1. Authorizenet.php
    By starview in forum osCommerce 2.2 Installation Help
    Replies: 13
    Last Post: 12-31-2006, 09:33 PM
  2. Having problems with Authorizenet payment mod anyone else?
    By Redeye_Joe in forum osCmax v2 Customization/Mods
    Replies: 2
    Last Post: 08-02-2006, 08:55 PM
  3. Help ! Order not working !
    By shirster in forum osCMax v2 Features Discussion
    Replies: 1
    Last Post: 06-24-2006, 09:09 PM
  4. AuthorizeNet Error
    By judoka in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 06-04-2003, 10:41 PM
  5. My Order History not working on CC test
    By Snoop in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 01-30-2003, 05:55 PM

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
  •