•  Josey
  • 51.75% (Neutral)
  • Newbie Topic Starter
When I try to register our site using the UPS Online Registration page it displays the following error:
Error Calling HTTP POST: Stream Reader Error: The remote server returned an error: (404) Not Found. System
at Hotcakes.Shipping.Ups.Registration.Register(String serverUrl) at Hotcakes.Modules.Core.Admin.Configuration.ShippingUpsLicense.btnAccept_Click(Object sender, EventArgs e)

Because of this it does not allow us to add the username, password and other information needed to get the API working. There doesn't seem to be any workaround on setting up the api access besides modifying the source code.
Will Strohl
Are you calling the API from a TLS-compliant source? Most APIs like this one will require a TLS 1.1 or higher connection.

Also, what version of Hotcakes Commerce is this?
Will Strohl, Upendo Ventures
Hotcakes Cloud  | Get Support  | Code Support 
Official Cloud & Support provider for Hotcakes
  •  Josey
  • 51.75% (Neutral)
  • Newbie Topic Starter
We are using Hotcakes 03.04.01 and I have tried it from both my local PC and from Windows Server 2019 which both give me the 404 error message when I submit the hotcakes UPS Online Registration form. I have installed it on 3 sites and no matter what information I enter I still get the same error.

If I debug I see the request to UPSReg.AcceptLicense for the following and the response is as follows:

<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<AccessLicenseResponse>\n <Response>\n <TransactionReference>\n <CustomerContext>License Request</CustomerContext>\n </TransactionReference>\n <ResponseStatusCode>1</ResponseStatusCode>\n <ResponseStatusDescription>Success</ResponseStatusDescription>\n </Response>\n <AccessLicenseNumber>4D8B1BA77373241D</AccessLicenseNumber>\n</AccessLicenseResponse>\n"

That all looks successful then it calls UPSReg.Register and it returns the following exception "Error Calling HTTP POST: Stream Reader Error: The remote server returned an error: (404) Not Found. System"
  • Sign-up for the Hotcakes Community Newsletter: