To follow up on this: We found what seems to be an error in shipping/modules/fedex/ shipper.py
Line 245 had been looking for the discount in a field that isn't sent in FedEx's response. Changing that line to look instead for TotalDiscount seems to make this work. <FDXRateReply xsi:noNamespaceSchemaLocation="FDXRateReply.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:m="http:// com/fedex/ws/transform"> <ReplyHeader/> <EstimatedCharges> <DimWeightUsed>false</DimWeightUsed> <CurrencyCode>USD</CurrencyCode> <BilledWeight>12.0</BilledWeight> <DiscountedCharges> <BaseCharge>7.30</BaseCharge> <TotalDiscount>0.00</TotalDiscount> <Surcharges> <DeclaredValue>127.50</DeclaredValue> <Fuel>0.44</Fuel> <DeliverySignatureOptions>0.00</DeliverySignatureOptions> </Surcharges> <TotalSurcharge>127.94</TotalSurcharge> <NetCharge>135.24</NetCharge> <ShipmentNetCharge>135.24</ShipmentNetCharge> <TotalRebate>0.00</TotalRebate> </DiscountedCharges> </EstimatedCharges> <SignatureOption>DIRECT</SignatureOption> <IneligibleForMoneyBackGuarantee>false</ IneligibleForMoneyBackGuarantee> <Routing> <ServiceCommitment>A2</ServiceCommitment> <TimeInTransit>1</TimeInTransit> <OriginServiceArea>A2</OriginServiceArea> </Routing> </FDXRateReply> Is this a change in FedEx's API? This is our first time using Satchmo so I'm not sure if this is just a problem with our setup or if other people are having this issue too. Fixing this and enabling some other other options (Standard Overnight, for example) gives an error because TimeInTransit is not given by UPS. Changing line 246 to something like try: self.delivery_days = response.documentElement.getElementsByTagName('TimeInTransit') [0].firstChild.nodeValue except IndexError: self.delivery_days = 42 log.debug('no TimeInTransit') will at least let the page render, but doesn't seem like much of a solution. Thoughts? On Mar 21, 3:35 pm, Brent <[email protected]> wrote: > I am using a default install of Satchmo. > I followed the instructions > here:http://www.satchmoproject.com/docs/dev/shipping.html#enabling-modules > > Specifically, I am trying to get the FedEx module to work. The only > shipping option I have been able to see work is the flat rate one. > I'm not sure where the breakdown is. -- You received this message because you are subscribed to the Google Groups "Satchmo users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/satchmo-users?hl=en.
