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
|
|
|
|
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
|
|
|
|
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? |
|
|
|
|
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
|
|
|
|
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?
|
|
|
|
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
|
|
|
|
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
|
|
|
|
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
|
|
|
|
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
|
|
|
|
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
|
|
|
|
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. |
|
|
|
|
Rank: Member
Joined: 11/29/2007(UTC) Posts: 25
|
sorry - this is actually the request string being sent
Request: <?xml version="1.0" encoding="utf-16"?> <AccessRequest> <AccessLicenseNumber /> <UserId /> <Password /> </AccessRequest> <?xml version="1.0" encoding="utf-16"?> <RatingServiceSelectionRequest> <Request> <TransactionReference> <CustomerContext>Rate Request</CustomerContext> <XpciVersion>1.0001</XpciVersion> </TransactionReference> <RequestAction>Rate</RequestAction> <RequestOption>Rate</RequestOption> </Request> <PickupType> <Code>01</Code> </PickupType> <Shipment> <Shipper> <Address> <PostalCode>*** ***</PostalCode> <CountryCode>CA</CountryCode> </Address> </Shipper> <ShipTo> <Address> <PostalCode>V8V3H4</PostalCode> <CountryCode>CA</CountryCode> <ResidentialAddress /> </Address> </ShipTo> <Service> <Code>65</Code> </Service> <Package> <PackagingType> <Code>02</Code> <Description>Package</Description> </PackagingType> <PackageWeight> <UnitOfMeasure> <Code>LBS</Code> </UnitOfMeasure> <Weight>5.0</Weight> </PackageWeight> </Package> </Shipment> </RatingServiceSelectionRequest>
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.
|
|
|
|
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". |
|
|
|
|
Rank: Member
Joined: 11/5/2003(UTC) Posts: 1,786
|
I don't think UPS supports Canada to Canada as Andy said.
|
|
|
|
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
|
|
|
|
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
|
|
|
|
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"
|
|
|
|
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!
|
|
|
|
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.