Hi Dave, Ive done this exact thing and it works wonderfully. I'd love to share my code, but I don't currently have the time to extract my employer's proprietary insurance calculations. I can tell you exactly what I did however, and its probably only and hour's work.
Use the bundled UPS module as a template; it does this exact same thing. Since Satchmo's design is to make 1 call per method and what you want is 1 call per carrier, it calls the webservice on the request for the first method and caches it for each of the subsequent calls. And exactly like you said, a method is only presented to the user, if its active. The big changes to make are updating the request.xml file to match the Fedex request format, and then updating the xpaths in your new shipper.py to extract the appropriate values. Then of course there's getting fedex-specific settings pulling from config, etc. - other Dave On Jan 19, 9:07 am, BoulderDave <[email protected]> wrote: > As I mentioned previously, I've been trying to come up with a solution > for the large response time when getting multiple shipping rates back > to the user. > I just found out that Fedex allows you to receive all available rates > in one request. Has anybody used this approach before? I figure the > rates can then be filtered to which ones are 'active', and shown to > the user. > > Dave -- 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.
