Hopefully someone's been through this and can help me.
My client has a running OpenCart v.1.5.6 Store running the UPS Shipping module without any issues.
________________________________________________________________________________
I am building an upgraded OpenCart v. 3.0.2.0 Store for him while he continues to run his old store.
I have the same settings and geo codes, ups logins and passwords (I've spent ALL day on this). I get an error at checkout:
"Warning: No Shipping options are available. Please contact us for assistance!"
The OpenCart error Log shows the information was sent AND received back from UPS. Within that Error Log transcription I noticed that it even returned the UPS shipping prices.
<see attachment pics>
Why is this failing in my OpenCart checkout? Hopefully someone is really smart and can help me get back on track here with this new Opencart website 3.0.2.0
Thanks for any advice or assistance . . .
Todd
Attachments
ErrorLog-UPS.jpg (213.54 KiB) Viewed 7523 times
kna-checkout-NO-ups.jpg (136.67 KiB) Viewed 7523 times
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Here's the zip file of my error log.
Tonight I just did a fresh install of Opencart 3.0.2 thinking a module or theme may have caused the UPS Module to not work.
BUT, NO! It still doesn't work, with a fresh OC install. So at this point I would have to warn anyone that wants Opencart 3.0.2 - MAKE SURE UPS IS NOT A REQUIREMENT for your store
If ANYONE comes up with a solution - please let me know...
Thank you,
Todd
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
As for the provided logs, it does not look like you have any issues with it:
Code: Select all
<ResponseStatusDescription>Success</ResponseStatusDescription>
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
a no shipping module installed message may only originate by other causes in Opencart, not because you are using UPS.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
I have edited the ups.php in the shipping extension with changing all the instances of:
$this->config->get('ups_
WITH:
$this->config->get('shipping_ups__
But it doesn't seem to be helping, still get a 'No shipping options are available' if I turn off USPS
I had to change the URL to https://onlinetools.ups.com/ups.app/xml/Rate
Per UPS dev kit, but that only stopped the 'permission denied' issue
I have already setup another install on a seperate domain to test and still having the same issue.
Any logs (other than Admin > System logs) I can look at?
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
I have tried several times to uninstall and install and putting the info back in but no luck
I installed a stock 2.3.0.2 on another domain and it's not working either.
But I am getting this error on the new domain only.. sigh....
mod_fcgid: stderr: PHP Fatal error: Call to a member function getElementsByTagName() on null in
shipping/ups.php on line 243, referer: index.php?route=checkout/cart
By the way, I had to change the URL used to https://onlinetools.ups.com/ups.app/xml/Rate
When I contacted UPS support they told me this and should be changed in all versions of UPS
"API URLs starting with www.ups.com/ups.app/xml/ or https://www.ups.com/webservices/ are not currently supported. "
Attached is the Rating Package XML Deleloper Guide.pdf which states the same thing.
So not sure whom I need to contact, but the devs for Opencart will need to change the code for all versions, otherwise it will just error out and
say 'permission denied'
"UPS DATA RECV:
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Only because when all shipping options are turned off and only UPS is on:
Warning: No shipping options are available...
I checked error_log and I have a couple of minor errors:
httpdocs/favicon.ico (file does not exist)
httpdocs/products (file does not exist) - not sure why this one shows up on the production site
If I change the URL in ups.php back to the original file, then I will get a Permission denied.
If you would like access, let me know
The full provided and detailed message would be needed.permission denied
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
I blanked out my data with ******
2018-01-19 7:35:11 - UPS DATA SENT: <?xml version="1.0"?><AccessRequest xml:lang="en-US"> <AccessLicenseNumber>******</AccessLicenseNumber> <UserId>******</UserId> <Password>******</Password></AccessRequest><?xml version="1.0"?><RatingServiceSelectionRequest xml:lang="en-US"> <Request> <TransactionReference> <CustomerContext>Bare Bones Rate Request</CustomerContext> <XpciVersion>1.0001</XpciVersion> </TransactionReference> <RequestAction>Rate</RequestAction> <RequestOption>shop</RequestOption> </Request> <PickupType> <Code>01</Code> </PickupType> <Shipment> <Shipper> <Address> <City>Miami</City> <StateProvinceCode>FL</StateProvinceCode> <CountryCode>US</CountryCode> <PostalCode>33156</PostalCode> </Address> </Shipper> <ShipTo> <Address> <City></City> <StateProvinceCode>FL</StateProvinceCode> <CountryCode>US</CountryCode> <PostalCode></PostalCode> <ResidentialAddressIndicator /> </Address> </ShipTo> <ShipFrom> <Address> <City>Miami</City> <StateProvinceCode>FL</StateProvinceCode> <CountryCode>US</CountryCode> <PostalCode>33156</PostalCode> </Address> </ShipFrom> <Package> <PackagingType> <Code>02</Code> </PackagingType> <Dimensions> <UnitOfMeasurement> <Code>IN</Code> </UnitOfMeasurement> <Length>1</Length> <Width>1</Width> <Height>1</Height> </Dimensions> <PackageWeight> <UnitOfMeasurement> <Code>LBS</Code> </UnitOfMeasurement> <Weight>0.1</Weight> </PackageWeight> <PackageServiceOptions> <InsuredValue> <CurrencyCode>USD</CurrencyCode> <MonetaryValue>32.97</MonetaryValue> </InsuredValue> </PackageServiceOptions> </Package> </Shipment></RatingServiceSelectionRequest>
2018-01-19 7:35:11 - UPS DATA RECV: <HTML><HEAD>
<TITLE>Access Denied</TITLE>
</HEAD><BODY>
<H1>Access Denied</H1>
You don't have permission to access "http://www.ups.com/ups.app/xml/Rate" on this server.<P>
Reference #18.805832b8.1516347311.6d106da
</BODY>
</HTML>
If I change UPS.php to https://onlinetools.ups.com/ups.app/xml/Rate it no longer errors, but doesn't work either
Thanks for helping
Users browsing this forum: Bing [Bot] and 174 guests