osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

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


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 09-30-2003, 02:25 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,328
Thanks: 68
Thanked 322 Times in 305 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
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
File Type: zip checkout_process.zip (4.0 KB, 14 views)
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 07-30-2004, 05:03 PM
Anonymous
Guest
 
Posts: n/a
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 12:00 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax