• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

MitchA
#1 Posted : Thursday, August 30, 2007 8:51:36 AM(UTC)
MitchA

Rank: Member

Joined: 3/3/2006(UTC)
Posts: 1,737

Two orders recently returned $0.00 from Fed Ex Ground. Each had Zip + 4 in the ship-to address. Zip + 4 is apparently a no-no.


Any way to pass only the first 5 digits to Fed Ex?




See below: Same zip except for the + 4.
MitchA attached the following image(s):
Zip-code-plus-4.jpg (30kb) downloaded 5 time(s).

You cannot view/download attachments. Try to login or register.
Optimists invent airplanes,
Pessimists buy parachutes.
jetheredge
#2 Posted : Friday, September 7, 2007 3:00:35 PM(UTC)
jetheredge

Rank: Member

Joined: 3/1/2006(UTC)
Posts: 1,142

We could put some code in there to test to see if it is the United States and if so try and pull the first 5 digits. The reason there isn't any checking now is that pretty much every country has different rules for how zip codes should be formatted.
Justin Etheredge
Senior Software Engineer
BVSoftware
MitchA
#3 Posted : Monday, September 10, 2007 8:53:47 AM(UTC)
MitchA

Rank: Member

Joined: 3/3/2006(UTC)
Posts: 1,737

Thanks Justin, but Everett dealt with this in another post:


http://forums.bvcommerce...lt.aspx?f=80&m=49715

Sorry this took so long. It has been hectic around here! Here is the update to take care of this issue. open your Checkout.aspx.vb file and make the following changes:

' Comment or delete the first line, then add the second
'a.PostalCode = Me.ShippingpostalCodeField.Text.Trim
a.PostalCode = Me.ShippingpostalCodeField.Text.Trim().Replace("-", "")

This will correct the checkout page. To fix the popup window on the cart page, edit your EstimateShipping.aspx.vb file (found in the site root) and make the following changes:

'Basket.ShippingAddress.PostalCode = Me.ZipCodeField.Text.Trim
Basket.ShippingAddress.PostalCode = Me.ZipCodeField.Text.Trim.Replace("-", "")



This is one of the hazards of posting for help in more than one place. Joe and I posted in different places, I should have come back and killed this one when Justin posted a fix. Sorry.
Optimists invent airplanes,
Pessimists buy parachutes.
[email protected]
#4 Posted : Monday, September 10, 2007 8:53:55 AM(UTC)
everett@bvsoftware.com

Rank: Member

Joined: 3/8/2007(UTC)
Posts: 139

Hey Mitch,

I'm kind of confused since you actually posted in this thread. But.... did you try making this alteration:

http://forums.bvcommerce...&f=80&p=1#m50036

If so.... Is it giving you any trouble?

Thanks,
Everett Comstock

BV Software
MitchA
#5 Posted : Monday, September 10, 2007 9:05:25 AM(UTC)
MitchA

Rank: Member

Joined: 3/3/2006(UTC)
Posts: 1,737

It's working fine. The () have been removed.

Thanks.
Optimists invent airplanes,
Pessimists buy parachutes.
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

©2025 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012