Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

UPS Insurance - but NOT with autorize_direct ADC module


rbartz

Recommended Posts

I have been successful in adding in UPS shipping insurance on all our orders (since we only ship UPS) as a separate item in the totals. I used an earlier contibution by G?nter Sammet that goes in with the order_totals modules. That module is based on the loworderfee module.

 

http://www.oscommerce.com/forums/viewtopic.php?t=11177

 

 

I modified Gunter's work so that it adds 50 cents per $100 of the order total including taxes and shipping, after the first $100 of total... that is, it adds 50 cents to a total of $100.00 up to $199.99 and $1 to an order between $200 up to $299.99 and so on.

 

My mods set the "exempt amount" and then the rate per part of the total all in admin config, so it could be used for other than UPS. If someone wants my version, I can upload it.

 

It works very well EXCEPT that it does not work with authorize_direct.php. If someone needs to add UPS insurance (or any shipping insurance) as a separate item the module works very well (I use snapshot from November 19, 2002).

 

NOW... if anyone can help me determine why it does total right with the authorize_direct module I would be really happy... the clues are in this line in authorize_direct.php

 

x_Amount => number_format($order->info['total'], 2),

 

Thanks,

 

Richard

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...