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

Notification

Icon
Error

muaddib2007
#1 Posted : Thursday, March 20, 2008 12:02:51 PM(UTC)
muaddib2007

Rank: Member

Joined: 11/29/2007(UTC)
Posts: 25

I'm attempting to setup BV5 so that real time UPS shipping rates are retrieved on checkout.. I acquired a UPS account number and UPS developer Access Key, and am not able to receive rates on either case..

I setup the UPS shipping option to diagnostic mode - When I use my UPS account number I get the following errors in the event log:

UPS Shipping Provider:

Response: <?xml version="1.0"?><RatingServiceSelectionResponse><Response><TransactionReference><CustomerContext>Rate Request</CustomerContext><XpciVersion>1.0001</XpciVersion></TransactionReference><ResponseStatusCode>0</ResponseStatusCode><ResponseStatusDescription>Failure</ResponseStatusDescription><Error><ErrorSeverity>Hard</ErrorSeverity><ErrorCode>10002</ErrorCode><ErrorDescription>The XML document is well formed but the document is not valid</ErrorDescription><Errorlocation><ErrorlocationElementName>AccessRequest/AccessLicenseNumber</ErrorlocationElementName></Errorlocation></Error></Response></RatingServiceSelectionResponse>
UPS Shipping Provider:
UPS Status Code = 0 UPS Postage = UPS Errors = The XML document is well formed but the document is not valid UPS Rate = -1
jasolution
#2 Posted : Friday, March 21, 2008 7:58:25 PM(UTC)
jasolution

Rank: Member

Joined: 3/14/2008(UTC)
Posts: 18

I too am evaluating the store using BVC 5 SP3.2, and I am receiving the same error from both UPS and FedEx:

UPS Status Code = 0 UPS Postage = UPS Errors = An origin postal code must be specified. UPS Rate = -1

I have setup the store address info in the admin's Content > Store Info area, so I'm not sure whether I need to set an origin zip code in a different area of the admin site, or if this is a bug in the software.

Is there a different place that I need to specific the origin zip code within the BVC5 admin area?

Thanks,

Jason
birdsafe
#3 Posted : Saturday, March 22, 2008 12:27:02 PM(UTC)
birdsafe

Rank: Member

Joined: 2/21/2007(UTC)
Posts: 1,113

Jason, have you set up a UPS shipping method (Ground, etc.) with your UPS account info?
jasolution
#4 Posted : Sunday, March 23, 2008 2:43:57 PM(UTC)
jasolution

Rank: Member

Joined: 3/14/2008(UTC)
Posts: 18

Joe,

Yeah, I set up both UPS and FedEx methods and I'm receiving a similar error with FedEx shipping.

Jason
Marcus
#5 Posted : Sunday, March 23, 2008 7:30:40 PM(UTC)
Marcus

Rank: Member

Joined: 11/5/2003(UTC)
Posts: 1,786

Could anything in your firewall or proxy servers at your hosting facility be limiting traffic?
jasolution
#6 Posted : Monday, March 24, 2008 9:08:06 AM(UTC)
jasolution

Rank: Member

Joined: 3/14/2008(UTC)
Posts: 18

Marcus,
Everything is good on the firewalls. In fact, we develop several other e-commerce sites on these same servers (different e-com software) and they perform RTS lookups from FedEx and UPS without any issues. We're also getting the error with the site on three different machines (my local dev box, a staging server and we've even tried it on a production server).

Frankly, I'm stumped.

Here is the error I'm receiving:


Code:

Request=<?xml version="1.0" encoding="utf-16"?> <FDXRateRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchema[b][/b]location="FDXRateRequest.xsd"> <RequestHeader> <AccountNumber>XXXX</AccountNumber> <MeterNumber>XXXXX</MeterNumber> <CarrierCode>FDXG</CarrierCode> </RequestHeader> <ReturnShipmentIndicator>NONRETURN</ReturnShipmentIndicator> <ShipDate>2008-03-24</ShipDate> <DropoffType>REGULARPICKUP</DropoffType> <Service>FEDEXGROUND</Service> <Packaging>YOURPACKAGING</Packaging> <WeightUnits>LBS</WeightUnits> <Weight>3.0</Weight> <OriginAddress> <CountryCode>US</CountryCode> </OriginAddress> <DestinationAddress> <StateOrProvinceCode>MI</StateOrProvinceCode> <PostalCode>48003</PostalCode> <CountryCode>US</CountryCode> </DestinationAddress> <Payment> <PayorType>SENDER</PayorType> </Payment> <Dimensions> <Length>12</Length> <Width>12</Width> <Height>12</Height> <Units>IN</Units> </Dimensions> <DeclaredValue> <Value>0.10</Value> <CurrencyCode>USD</CurrencyCode> </DeclaredValue> <SpecialServices> <ResidentialDelivery>1</ResidentialDelivery> </SpecialServices> <PackageCount>1</PackageCount> </FDXRateRequest><br/> <br/> Response=<?xml version="1.0" encoding="UTF-8"?><FDXRateReply xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchema[b][/b]location="FDXRateReply.xsd"><ReplyHeader></ReplyHeader><Error><Code>1256</Code><Message>Sender Postal Code is required for US or CA</Message></Error></FDXRateReply>

Where does the code pull the Origin Zip Code from? I assumed it was from the value I set in the admin area in Content > Store Info (http://screencast.com/t/iMJAEj1sc). Is this not right?



Thanks,



Jason
jasolution
#7 Posted : Monday, March 24, 2008 9:11:57 AM(UTC)
jasolution

Rank: Member

Joined: 3/14/2008(UTC)
Posts: 18

Marcus,


Here is the error response from UPS as well:


Code:

Response: <?xml version="1.0"?><RatingServiceSelectionResponse><Response><TransactionReference><CustomerContext>Rate Request</CustomerContext><XpciVersion>1.0001</XpciVersion></TransactionReference><ResponseStatusCode>0</ResponseStatusCode><ResponseStatusDescript[b][/b]ion>Failure</ResponseStatusDescript[b][/b]ion><Error><ErrorSeverity>Hard</ErrorSeverity><ErrorCode>111107</ErrorCode><ErrorDescript[b][/b]ion>An origin postal code must be specified.</ErrorDescript[b][/b]ion></Error></Response></RatingServiceSelectionResponse>


Jason
jasolution
#8 Posted : Monday, March 24, 2008 9:45:55 AM(UTC)
jasolution

Rank: Member

Joined: 3/14/2008(UTC)
Posts: 18

Marcus,

I believe I've narrowed the problem to some setting held within the database. I can point the store to a new, clean database and the rates work correctly. If I point to the databas that I've already configured with products and all of my "live" settings, then I get that error again.

Where does BVC5 store the value that it uses to populate the Origin zip code when it generates the RTS quote request for FedEx and UPS?

Thanks,

Jason
jasolution
#9 Posted : Monday, March 24, 2008 10:09:12 AM(UTC)
jasolution

Rank: Member

Joined: 3/14/2008(UTC)
Posts: 18

Marcus,

Ugh, I've finally figured out the problem!

I've configured most of the products to drop-ship from a vendor. When I setup the vendors, I only input the vendor's name and did not fill out the address information. When selecting a product to ship from a vendor, the vendor profile MUST contain a zip code or the FedEx and UPS RTS lookups will fail.

Jason
muaddib2007
#10 Posted : Monday, March 24, 2008 7:11:21 PM(UTC)
muaddib2007

Rank: Member

Joined: 11/29/2007(UTC)
Posts: 25

I'm still getting the same error..

Here is the request that is sent:


<?xml version="1.0"?><RatingServiceSelectionResponse><Response><TransactionReference><CustomerContext>Rate Request</CustomerContext><XpciVersion>1.0001</XpciVersion></TransactionReference><ResponseStatusCode>0</ResponseStatusCode><ResponseStatusDescription>Failure</ResponseStatusDescription><Error><ErrorSeverity>Hard</ErrorSeverity><ErrorCode>10002</ErrorCode><ErrorDescription>The XML document is well formed but the document is not valid</ErrorDescription><ErrorLocation><ErrorLocationElementName>AccessRequest/AccessLicenseNumber</ErrorLocationElementName></ErrorLocation></Error></Response></RatingServiceSelectionResponse>

and again the response:


Response: <?xml version="1.0"?><RatingServiceSelectionResponse><Response><TransactionReference><CustomerContext>Rate Request</CustomerContext><XpciVersion>1.0001</XpciVersion></TransactionReference><ResponseStatusCode>0</ResponseStatusCode><ResponseStatusDescription>Failure</ResponseStatusDescription><Error><ErrorSeverity>Hard</ErrorSeverity><ErrorCode>10002</ErrorCode><ErrorDescription>The XML document is well formed but the document is not valid</ErrorDescription><ErrorLocation><ErrorLocationElementName>AccessRequest/AccessLicenseNumber</ErrorLocationElementName></ErrorLocation></Error></Response></RatingServiceSelectionResponse>


As I mentioned I have setup an online UPS account and have acquired a UPS account number.. Is there something else I need to configure on my UPS account?

Thanks
birdsafe
#11 Posted : Tuesday, March 25, 2008 12:48:23 PM(UTC)
birdsafe

Rank: Member

Joined: 2/21/2007(UTC)
Posts: 1,113

This would appear to indicate that your UPS Account number is not right. If you look at the message:
ErrorlocationElementName>AccessRequest/AccessLicenseNumber</ErrorlocationElementName>

This is telling you that the element that is throwing the error is teh Access Request/AccessLicenseNumber element -- so I would check there first.
muaddib2007
#12 Posted : Wednesday, March 26, 2008 12:16:43 PM(UTC)
muaddib2007

Rank: Member

Joined: 11/29/2007(UTC)
Posts: 25

sorry - this is actually the request string being sent

Request: &lt;?xml version="1.0" encoding="utf-16"?&gt; &lt;AccessRequest&gt; &lt;AccessLicenseNumber /&gt; &lt;UserId /&gt; &lt;Password /&gt; &lt;/AccessRequest&gt; &lt;?xml version="1.0" encoding="utf-16"?&gt; &lt;RatingServiceSelectionRequest&gt; &lt;Request&gt; &lt;TransactionReference&gt; &lt;CustomerContext&gt;Rate Request&lt;/CustomerContext&gt; &lt;XpciVersion&gt;1.0001&lt;/XpciVersion&gt; &lt;/TransactionReference&gt; &lt;RequestAction&gt;Rate&lt;/RequestAction&gt; &lt;RequestOption&gt;Rate&lt;/RequestOption&gt; &lt;/Request&gt; &lt;PickupType&gt; &lt;Code&gt;01&lt;/Code&gt; &lt;/PickupType&gt; &lt;Shipment&gt; &lt;Shipper&gt; &lt;Address&gt; &lt;PostalCode&gt;*** ***&lt;/PostalCode&gt; &lt;CountryCode&gt;CA&lt;/CountryCode&gt; &lt;/Address&gt; &lt;/Shipper&gt; &lt;ShipTo&gt; &lt;Address&gt; &lt;PostalCode&gt;V8V3H4&lt;/PostalCode&gt; &lt;CountryCode&gt;CA&lt;/CountryCode&gt; &lt;ResidentialAddress /&gt; &lt;/Address&gt; &lt;/ShipTo&gt; &lt;Service&gt; &lt;Code&gt;65&lt;/Code&gt; &lt;/Service&gt; &lt;Package&gt; &lt;PackagingType&gt; &lt;Code&gt;02&lt;/Code&gt; &lt;Description&gt;Package&lt;/Description&gt; &lt;/PackagingType&gt; &lt;PackageWeight&gt; &lt;UnitOfMeasure&gt; &lt;Code&gt;LBS&lt;/Code&gt; &lt;/UnitOfMeasure&gt; &lt;Weight&gt;5.0&lt;/Weight&gt; &lt;/PackageWeight&gt; &lt;/Package&gt; &lt;/Shipment&gt; &lt;/RatingServiceSelectionRequest&gt;

I notice the AccessRequest and AccessLicenseNumber is empty. What can be the reason for this? I've entered a valid UPS account number with the UPS shipping method in the BV admin.
Andy Miller
#13 Posted : Wednesday, March 26, 2008 12:36:35 PM(UTC)
Andy Miller

Rank: Member

Joined: 11/5/2003(UTC)
Posts: 2,136

Was thanked: 1 time(s) in 1 post(s)
Are you shipping from Canada to Canada? I don't think the UPS rate server handles that. Actually, I don't think the UPS rate server handles shipping from Canada at all.

About the account registration, on the UPS shipping method page there is a line labeled Registration Status directly above the Account Number field. The status should be "Already Registered with UPS".
Andy Miller
Structured Solutions

Shipper 3 - High Velocity Shipment Processing
Marcus
#14 Posted : Wednesday, March 26, 2008 12:50:15 PM(UTC)
Marcus

Rank: Member

Joined: 11/5/2003(UTC)
Posts: 1,786

I don't think UPS supports Canada to Canada as Andy said.
muaddib2007
#15 Posted : Friday, March 28, 2008 11:25:58 AM(UTC)
muaddib2007

Rank: Member

Joined: 11/29/2007(UTC)
Posts: 25

This is the reply I recieved from UPS:

Thank you for your inquiry. The UPS Online Tools do function for shipments from Canada.
Please contact BV Commerce Support to request assistance and let them know that you have confirmed that the Online Tools do support shipments from Canada.

and yes my registration status is: "Already Registered with UPS"


thanks
Mark H
#16 Posted : Friday, March 28, 2008 1:11:34 PM(UTC)
Mark H

Rank: Member

Joined: 12/19/2006(UTC)
Posts: 153

This may or may not help with the comment about Canadian shipping. . .

For our site (located in the USA) UPS does not return rates for services such as 'UPS Ground' if the destination is a Canadian address. You must set up an 'International UPS' service option to get a rate to be returned. (Same with fedex.)

~Mark
muaddib2007
#17 Posted : Monday, March 31, 2008 12:21:08 PM(UTC)
muaddib2007

Rank: Member

Joined: 11/29/2007(UTC)
Posts: 25

I tried changing the address in the store information to an an address in the US.
I also attempted following the link "Already Registered with UPS (click to register again)" and submitting my company information again a few times since Friday..

I consitently get the message "The registration process cannot be completed now - please try again later"
jrose
#18 Posted : Friday, May 30, 2008 11:42:43 AM(UTC)
jrose

Rank: Member

Joined: 5/30/2008(UTC)
Posts: 6

Did anyone fine a solution to this? I've having the same issue with our UPS account. I tried the one propose solution (setting the items to dropship and ensuring that there's at least a zip in the vendor's profile) but no luck. We are shipping from the US to almost anywhere... and I can't get anything.
Any other ideas?
Thanks!
jrose
#19 Posted : Friday, May 30, 2008 3:28:13 PM(UTC)
jrose

Rank: Member

Joined: 5/30/2008(UTC)
Posts: 6

This might help out some...
I cross referenced our the information I was using with our UPS account info and there were a few differences (the UPS account was created before we moved locations) and the different address made the difference. It now registers correctly. Unfortunately, i still can't get it to calculate shipping rates on checkout.. but this is a step in the right direction. So make sure your info you're supplying is EXACTLY what UPS has on file for you.
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.

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