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



Find us on Facebook
Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Connect with Facebook Register FAQDonate Members List Calendar Mark Forums Read


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: 15,748
Thanks: 139
Thanked 609 Times in 521 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

*** Do not PM me requesting paid help. The only paid work I do is for AABox Web Hosting customers ***

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 User Manual - osCMax Templates - Advanced Template Tutorial

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 09: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 05:55 PM


All times are GMT -8. The time now is 03:53 AM.


Powered by vBulletin®
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2009 osCMax
Inactive Reminders By Icora Web Design