BV Commerce Forum
»
BV Commerce Support
»
General Support
»
Zip + 4... Fed Ex Ground won't return rate.
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. |
|
|
|
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 |
|
|
|
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=49715Sorry 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. |
|
|
|
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#m50036If so.... Is it giving you any trouble? Thanks, |
Everett Comstock
BV Software |
|
|
|
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.