Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 Technical
 ASP (Windows server) versions
 UPS registration error
Author « Topic »  

dgoeller
Starting Member

USA
5 Posts

Pre-sales questions only
(More Details...)

Posted - 01/24/2018 :  09:47:33  
We recently had to upgrade to the latest eCommerce template to get around new UPS methods. When trying to register with UPS, I get the following error:

UPS Developer Kit Licensing & Registration Wizard - Step 1

I'm sorry, there was an error

Error, couldn't connect to UPS server
403: (Forbidden)

Any ideas?

DEREK S GOELLER

Andy
ECT Moderator

95440 Posts

Posted - 01/24/2018 :  10:00:22  
Hi Derek

I would pass the error on to your host and ask them if the connection to UPS is being blocked, possibly by a Firewall setting.

Andy

Please feel free to review / rate our software

dgoeller
Starting Member

USA
5 Posts

Pre-sales questions only
(More Details...)

Posted - 01/24/2018 :  20:14:17  
Andy,

My host (GoDaddy) says they are not blocking a connection to UPS, but I am not convinced. Below is the XML output written to the screen when "dumpshippingxml" is set to true.

<?xml version="1.0" encoding="ISO-8859-1"?>
<AccessLicenseAgreementRequest>
<Request>
<RequestOption>AllTools</RequestOption>
<TransactionReference>
<CustomerContext>Ecomm Plus UPS License</CustomerContext>
<XpciVersion>1.0001</XpciVersion></TransactionReference>
<RequestAction>AccessLicense</RequestAction></Request>
<DeveloperLicenseNumber>BB9341E83CC05B12</DeveloperLicenseNumber>
<AccessLicenseProfile>
<CountryCode>US</CountryCode>
<LanguageCode>EN</LanguageCode></AccessLicenseProfile>
<OnLineTool>
<ToolID>RateXML</ToolID>
<ToolVersion>1.0</ToolVersion></OnLineTool>
<OnLineTool>
<ToolID>TrackXML</ToolID>
<ToolVersion>1.0</ToolVersion></OnLineTool></AccessLicenseAgreementRequest>

I assume the hardcoded "DevelopmentLicenseNumber" is for Ecomm Plus ... correct? Do you see anything wrong with the XML?

Thanks,
Derek Goeller

DEREK S GOELLER

dgoeller
Starting Member

USA
5 Posts

Pre-sales questions only
(More Details...)

Posted - 01/24/2018 :  22:09:08  
I stumbled on a solution to my issue. In all interfaces to the UPS servers, the following statement is used to create an XMLHTTP object (non proxy):

set objHttp=Server.CreateObject("Msxml2.ServerXMLHTTP")

I had to change this statement to the following in several files related to UPS shipping:

set objHttp=Server.CreateObject("Msxml2.XMLHTTP.6.0")

All the UPS shipping functions seem to be working now :)

DEREK S GOELLER
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000