Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    May 2006
    Location
    Queensland, Australia
    Posts
    248
    Plugin Contributions
    0

    Default FedEX Not Adding Correct Price to Checkout.

    Warning; I am having an error with the FEDEx model with the shipping price, however it is only when you goto the checkout section. Please see the below for the example of what is happening;

    Step 1 of 3 - Delivery Information

    FedEx Express
    $383.16FedEx International Priority®
    $311.42FedEx International Economy®

    Step 2 of 3 - Payment Information

    Your Total
    $400.00Sub-Total:
    $191.58FedEx Express (FedEx International Priority®):
    -$200.00Group Discount:
    $391.58Total:

    Your Total
    $400.00Sub-Total:
    $155.71FedEx Express (FedEx International Economy®):
    -$200.00Group Discount:
    $355.71Total:

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: FedEX Not Adding Correct Price to Checkout.

    Just a note on this ...

    Those prices are exactly 50% of the original prices ...

    Perhaps you have something altering the costs?
    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.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: FedEX Not Adding Correct Price to Checkout.

    NOTE: another thing to look for is what shipping modules are installed as some do not properly address the shipping_weight and change its value and the next shipping module processes the wrong weight ...
    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.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #4
    Join Date
    May 2006
    Location
    Queensland, Australia
    Posts
    248
    Plugin Contributions
    0

    Default Re: FedEX Not Adding Correct Price to Checkout.

    Quote Originally Posted by Ajeh View Post
    Just a note on this ...

    Those prices are exactly 50% of the original prices ...

    Perhaps you have something altering the costs?
    I believe it is something in the FedEx Model that isnt working, i have checked all the other shipping models and they are all working right, it just seems to be FEDEX that is playing up.

    Some of the FEDEX code was changed so that it would work with the new version, i am wondering if there is a clitch in the coding.

  5. #5
    Join Date
    May 2006
    Location
    Queensland, Australia
    Posts
    248
    Plugin Contributions
    0

    Default Re: FedEX Not Adding Correct Price to Checkout.

    I believe it has to be something in this file that is causing it.
    Attached Files Attached Files

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: FedEX Not Adding Correct Price to Checkout.

    What shipping modules do you have installed?

    Do any of the shipping modules that you are using actual change the value of the $shipping_weight?

    All will use this variable ... but none should change its value or the next shipping module will have the wrong $shipping_weight to work with ...

    Where did you get the FedEx module that you are using?
    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.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  7. #7
    Join Date
    May 2006
    Location
    Queensland, Australia
    Posts
    248
    Plugin Contributions
    0

    Default Re: FedEX Not Adding Correct Price to Checkout.

    Quote Originally Posted by Ajeh View Post
    What shipping modules do you have installed?
    Aust Post + FedEx

    Quote Originally Posted by Ajeh View Post
    Do any of the shipping modules that you are using actual change the value of the $shipping_weight?
    Nope

    Quote Originally Posted by Ajeh View Post
    All will use this variable ... but none should change its value or the next shipping module will have the wrong $shipping_weight to work with ...
    Yea, none of them are being changed as far as i know

    Where did you get the FedEx module that you are using?[/QUOTE]

    I downloaded it from the site and then changed it with the instructions on the topic.

  8. #8
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: FedEX Not Adding Correct Price to Checkout.

    If you uninstall your other shipping modules, does FedEx work correctly?
    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.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  9. #9
    Join Date
    May 2006
    Location
    Queensland, Australia
    Posts
    248
    Plugin Contributions
    0

    Default Re: FedEX Not Adding Correct Price to Checkout.

    Quote Originally Posted by Ajeh View Post
    If you uninstall your other shipping modules, does FedEx work correctly?
    I would rather no screw around with the other shiping mods, they are currently working..


    It seems to be a problem with the coding on the FedEx.

  10. #10
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: FedEX Not Adding Correct Price to Checkout.

    What happens if you change the code on FedEx to read:
    Code:
    		// class methods
    		function quote($method = '')
    		{
    				global $shipping_weight, $shipping_num_boxes, $cart, $order;
    $fedexexpress_shipping_weight = $shipping_weight;
    
    				if (zen_not_null($method)) {
    						$this->_setService($method);
    				}
    
    				if (MODULE_SHIPPING_FEDEX_EXPRESS_ENVELOPE == 'True') {
    						if (($fedexexpress_shipping_weight <= .5 && MODULE_SHIPPING_FEDEX_EXPRESS_WEIGHT == 'LBS') ||
    
    										($fedexexpress_shipping_weight <= .2 && MODULE_SHIPPING_FEDEX_EXPRESS_WEIGHT == 'KGS')) {
    								$this->_setPackageType('06');
    						} else {
    								$this->_setPackageType('01');
    						}
    				} else {
    						$this->_setPackageType('01');
    				}
    
    				if ($this->packageType == '01' && $fedexexpress_shipping_weight < 1) {
    						$this->_setWeight(1);
    				} else {
    						$this->_setWeight($fedexexpress_shipping_weight);
    				}
    
    				$totals = $order->info['subtotal'] = $_SESSION['cart']->show_total();
    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.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. price calculation not correct! Help!
    By simpledomaining in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 0
    Last Post: 16 Nov 2011, 11:11 AM
  2. FedEx not showing as option on checkout
    By catach in forum Addon Shipping Modules
    Replies: 7
    Last Post: 11 Apr 2011, 01:40 AM
  3. price not showing correct
    By joroco in forum Basic Configuration
    Replies: 2
    Last Post: 13 Feb 2010, 06:31 PM
  4. Correct price attribute not transfering to checkout
    By monmouthtaxis in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 6 Feb 2009, 11:58 AM
  5. fedex rates aren't correct
    By delia in forum Addon Shipping Modules
    Replies: 8
    Last Post: 8 Dec 2008, 07:22 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR