The FedEx shipping module & International Addresses

30 views
Skip to first unread message

flowpoke

unread,
Jul 21, 2010, 2:19:15 PM7/21/10
to Satchmo users
Howdy,

I've experienced some issues with the FedEx shipping module and
sending to international addresses.

I also found some threads here (2008, 2009) in the group that explain
it's due to the state field and response.

Is this still the case? I suppose I better jump in and help as this is
pretty important to have working.

Anyone else working on this?

Chris Moffitt

unread,
Jul 21, 2010, 7:43:45 PM7/21/10
to satchm...@googlegroups.com
I imagine the issues are still there. I don't think the module has been touched in a while. The good news is that I doubt the issues are that huge to resolve - mostly templating I suspect.

The problem with these modules is that it's hard to test and keep up with if you're not actively using them (and I'm not at this time.)

Anyway, any patches or fixes would be appreciated and incorporated.

-Chris


--
You received this message because you are subscribed to the Google Groups "Satchmo users" group.
To post to this group, send email to satchm...@googlegroups.com.
To unsubscribe from this group, send email to satchmo-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/satchmo-users?hl=en.


Chris Laux

unread,
Jul 22, 2010, 10:24:09 AM7/22/10
to satchm...@googlegroups.com
On 7/21/2010 6:43 PM, Chris Moffitt wrote:
I imagine the issues are still there. I don't think the module has been touched in a while. The good news is that I doubt the issues are that huge to resolve - mostly templating I suspect.

The problem with these modules is that it's hard to test and keep up with if you're not actively using them (and I'm not at this time.)

Anyway, any patches or fixes would be appreciated and incorporated.

-Chris

I rewrote the Fedex shipping module to use their newer SOAP API. I was having quite a few problems with the included one (don't remember the issues now) so I called their support line. After a good bit of confusion due to Satchmo using an older API, the tech guy told me that this older API is deprecated and will be turned off in about 2 years. In the end, I decided to just rewrite it.

I'd be happy to contribute this code back to Satchmo, but:
  • I make no claim that the code is good (I copied the current module & hacked it up)
  • it has a few site-specific hacks in it
  • it requires the suds SOAP module
  • I need to clear it with my boss first ;)
Let me know if you're interested and I'll see if I can put a tar up somewhere. I don't have much free time to maintain it if something breaks, though.



On Wed, Jul 21, 2010 at 1:19 PM, flowpoke <bkea...@gmail.com> wrote:
Howdy,

I've experienced some issues with the FedEx shipping module and
sending to international addresses.

I also found some threads here (2008, 2009) in the group that explain
it's due to the state field and response.

Is this still the case? I suppose I better jump in and help as this is
pretty important to have working.

Anyone else working on this?

--
You received this message because you are subscribed to the Google Groups "Satchmo users" group.
To post to this group, send email to satchm...@googlegroups.com.
To unsubscribe from this group, send email to satchmo-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/satchmo-users?hl=en.


--
You received this message because you are subscribed to the Google Groups "Satchmo users" group.
To post to this group, send email to satchm...@googlegroups.com.
To unsubscribe from this group, send email to satchmo-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/satchmo-users?hl=en.


-- 
Chris Laux

daniel...@gmail.com

unread,
Jul 23, 2010, 3:12:18 PM7/23/10
to Satchmo users
Yes, I'm interested in it! I've done a tiny bit of hacking to the
FedEx module myself and it wasn't fun.

On Jul 22, 8:24 am, Chris Laux <ch...@cwroofs.com> wrote:
> On 7/21/2010 6:43 PM, Chris Moffitt wrote:> I imagine the issues are still there. I don't think the module has
> > been touched in a while. The good news is that I doubt the issues are
> > that huge to resolve - mostly templating I suspect.
>
> > The problem with these modules is that it's hard to test and keep up
> > with if you're not actively using them (and I'm not at this time.)
>
> > Anyway, any patches or fixes would be appreciated and incorporated.
>
> > -Chris
>
> I rewrote the Fedex shipping module to use their newer SOAP API. I was
> having quite a few problems with the included one (don't remember the
> issues now) so I called their support line. After a good bit of
> confusion due to Satchmo using an older API, the tech guy told me that
> this older API is deprecated and will be turned off in about 2 years. In
> the end, I decided to just rewrite it.
>
> I'd be happy to contribute this code back to Satchmo, but:
>
>     * I make no claim that the code is good (I copied the current module
>       & hacked it up)
>     * it has a few site-specific hacks in it
>     * it requires the suds SOAP module
>     * I need to clear it with my boss first ;)
>
> Let me know if you're interested and I'll see if I can put a tar up
> somewhere. I don't have much free time to maintain it if something
> breaks, though.
>
>
>
> > On Wed, Jul 21, 2010 at 1:19 PM, flowpoke <bkeat...@gmail.com
> > <mailto:bkeat...@gmail.com>> wrote:
>
> >     Howdy,
>
> >     I've experienced some issues with the FedEx shipping module and
> >     sending to international addresses.
>
> >     I also found some threads here (2008, 2009) in the group that explain
> >     it's due to the state field and response.
>
> >     Is this still the case? I suppose I better jump in and help as this is
> >     pretty important to have working.
>
> >     Anyone else working on this?
>
> >     --
> >     You received this message because you are subscribed to the Google
> >     Groups "Satchmo users" group.
> >     To post to this group, send email to
> >     satchm...@googlegroups.com
> >     <mailto:satchm...@googlegroups.com>.
> >     To unsubscribe from this group, send email to
> >     satchmo-user...@googlegroups.com
> >     <mailto:satchmo-users%2Bunsu...@googlegroups.com>.

pavera

unread,
Jul 24, 2010, 5:38:36 PM7/24/10
to Satchmo users
I would also be interested to see this, I was about to embark on
building a new fedex shipping module using the SOAP api as I'm
building a store that needs full fedex functionality (ground, express,
and international + generating shipping labels)

Hopefully your boss will let you release it :) Otherwise, I'll build
my own and submit it back to satchmo... either way, just let me know

Thanks,
Tom


On Jul 22, 8:24 am, Chris Laux <ch...@cwroofs.com> wrote:
> On 7/21/2010 6:43 PM, Chris Moffitt wrote:> I imagine the issues are still there. I don't think the module has
> > been touched in a while. The good news is that I doubt the issues are
> > that huge to resolve - mostly templating I suspect.
>
> > The problem with these modules is that it's hard to test and keep up
> > with if you're not actively using them (and I'm not at this time.)
>
> > Anyway, any patches or fixes would be appreciated and incorporated.
>
> > -Chris
>
> I rewrote the Fedex shipping module to use their newer SOAP API. I was
> having quite a few problems with the included one (don't remember the
> issues now) so I called their support line. After a good bit of
> confusion due to Satchmo using an older API, the tech guy told me that
> this older API is deprecated and will be turned off in about 2 years. In
> the end, I decided to just rewrite it.
>
> I'd be happy to contribute this code back to Satchmo, but:
>
>     * I make no claim that the code is good (I copied the current module
>       & hacked it up)
>     * it has a few site-specific hacks in it
>     * it requires the suds SOAP module
>     * I need to clear it with my boss first ;)
>
> Let me know if you're interested and I'll see if I can put a tar up
> somewhere. I don't have much free time to maintain it if something
> breaks, though.
>
>
>
>
>
> > On Wed, Jul 21, 2010 at 1:19 PM, flowpoke <bkeat...@gmail.com
> > <mailto:bkeat...@gmail.com>> wrote:
>
> >     Howdy,
>
> >     I've experienced some issues with the FedEx shipping module and
> >     sending to international addresses.
>
> >     I also found some threads here (2008, 2009) in the group that explain
> >     it's due to the state field and response.
>
> >     Is this still the case? I suppose I better jump in and help as this is
> >     pretty important to have working.
>
> >     Anyone else working on this?
>
> >     --
> >     You received this message because you are subscribed to the Google
> >     Groups "Satchmo users" group.
> >     To post to this group, send email to
> >     satchm...@googlegroups.com
> >     <mailto:satchm...@googlegroups.com>.
> >     To unsubscribe from this group, send email to
> >     satchmo-user...@googlegroups.com
> >     <mailto:satchmo-users%2Bunsu...@googlegroups.com>.

Chris Laux

unread,
Jul 26, 2010, 10:45:18 AM7/26/10
to satchm...@googlegroups.com
On 7/24/2010 4:38 PM, pavera wrote:
> I would also be interested to see this, I was about to embark on
> building a new fedex shipping module using the SOAP api as I'm
> building a store that needs full fedex functionality (ground, express,
> and international + generating shipping labels)
>
> Hopefully your boss will let you release it :) Otherwise, I'll build
> my own and submit it back to satchmo... either way, just let me know
>
> Thanks,
> Tom
>
>

I'm cleaning it up a little & will post a link to the tar soon.

--
Chris Laux

Chris Laux

unread,
Jul 26, 2010, 12:11:26 PM7/26/10
to satchm...@googlegroups.com
http://coppermade.com/static/fedex_soap-0.0.0.1.tar.gz

I didn't test it after I took out my site-specific hacks, so there's a
(small) chance it won't "just work". Also, this is for Satchmo 0.9, I
don't know how well it would work on 0.9.1. If nothing else, it's a
starting point - I know it could use some caching to speed it up.

Let me know how/if it works for you.

--
Chris Laux

flowpoke

unread,
Jul 26, 2010, 6:26:17 PM7/26/10
to Satchmo users
Hey, Thanks Chris!

I'll work at plugging this into my project.
Will keep notes and post back.

And using the new API. Very nice.

flowpoke

unread,
Aug 16, 2010, 2:58:05 PM8/16/10
to Satchmo users
Hey Chris,

Im working on implementing this now. Seems to work perfect!
However, Im hitting some field errors. Was wondering if I could pick
everybody's brain...

1). I dropped in your fedex_soap into my satchmo's shipping modules
folder and updated settings.py to use it instead of the original.
2). I entered in a US address --worked nicely.
3). I added a Germany address... used "Berlin" for city field and
satchmo.log reports:

``Mon, 16 Aug 2010 11:25:19 fedex.shipper INFO Fedex Error:
org.xml.sax.SAXParseException: Datatype error: In element
'StateOrProvinceCode' : Value 'Berlin' does not match regular
expression facet '[A-Z]{2}'.. - Code: 2106``

Seems like it's looking for a ``[A-Z]{2}`` and not the full name. Is
Satchmo missing these codes?

I also have a issue with Zip/Postal code for international addresses,
So I unchecked it as a requirement in Live Settings. Not sure if this
is fixing the actual problem.

So how should I deal with all the international possibilities?
Otherwise I assume your module is working. Thank you very very much.

- Ben

Josh

unread,
Oct 7, 2010, 6:35:24 PM10/7/10
to Satchmo users
Does anyone have any updates on this? I think it would be good to
have fedex working SOAP style since the old method is being
deprecated. I'm going to see if I can get this working in my store.

-Josh
> > >> building a newfedexshipping module using the SOAP api as I'm
> > >> building a store that needs fullfedexfunctionality (ground, express,
Reply all
Reply to author
Forward
0 new messages