Page 1 of 2

OpenCart 3.0.3.1_rc UPS shipping returns “Warning: Shipping method required!”

Posted: Tue Jun 11, 2019 8:52 am
by seekevin
Hello,
I am having a problem w/ “Warning: Shipping method required!” during the cart checkout.
Setup/configuration,
1. Running Opencart 3.0.3.1_rc
2. Only UPS extension is enabled and with the rest of shipping methods are disabled
3. Product “A” is assigned to Tax Class w/ 9.25% tax rate and Geozone California.
4. During checkout page popup w/ error ““Warning: Shipping method required!”
5. Testing w/ different shipping locations both within or outside state of CA always result in such warning message and no shipping rates shown on checkout page
Not sure of the issues, please advice and help !

Re: OpenCart 3.0.3.1_rc UPS shipping returns “Warning: Shipping method required!”

Posted: Wed Jun 12, 2019 12:11 am
by straightlight
Geo Zones may not be configured.

Re: OpenCart 3.0.3.1_rc UPS shipping returns “Warning: Shipping method required!”

Posted: Wed Jun 12, 2019 2:32 am
by seekevin
Yes, Geo Zone is configured Country = United States, Zone=All Zones.
Any other idea ?

Re: OpenCart 3.0.3.1_rc UPS shipping returns “Warning: Shipping method required!”

Posted: Wed Jun 12, 2019 2:40 am
by straightlight

Re: OpenCart 3.0.3.1_rc UPS shipping returns “Warning: Shipping method required!”

Posted: Wed Jun 12, 2019 6:21 am
by seekevin
I called UPS Support people and they are asking me for the Opencart's error logs or journals for them to look at and see if the issue is on their side. Any idea
where are the error log files located and names ?
thanks

Re: OpenCart 3.0.3.1_rc UPS shipping returns “Warning: Shipping method required!”

Posted: Wed Jun 12, 2019 6:27 am
by straightlight
Default location: /system/storage/logs/error.log file . This must be activated from your OC admin - > systems - > settings - > add / edit settings - > server tab and ensure the error.log file is specified at the bottom of the form.

An alternate location, if using cPanel, would be under your root FTP folder in your logs folder (gz files or .log files) or on each public_html subfolders or main folder with the filename called: error_log .

Re: OpenCart 3.0.3.1_rc UPS shipping returns “Warning: Shipping method required!”

Posted: Fri Jun 14, 2019 1:26 am
by seekevin
Thanks so much for your response and help. got the error.log file.

Re: OpenCart 3.0.3.1_rc UPS shipping returns “Warning: Shipping method required!”

Posted: Sat Jun 15, 2019 5:53 am
by seekevin
Hi Straightline,
By look at the error.log, the data returned from "UPS DATA RECV:" look fine but not sure why Opencart generated Warning "Warning: Shipping method required!" and displaying no data. Any thoughts ?
Thanks

=====================================================================================================================
/RatingServiceSelectionResponse>
2019-06-14 21:41:50 - UPS DATA SENT: <?xml version="1.0"?><AccessRequest xml:lang="en-US"> <AccessLicenseNumber>1234567890123456</AccessLicenseNumber> <UserId>goodwarerestsup</UserId> <Password>222222</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>San Jose</City> <StateProvinceCode>CA</StateProvinceCode> <CountryCode>US</CountryCode> <PostalCode>95112</PostalCode> </Address> </Shipper> <ShipTo> <Address> <City>Phoenix</City> <StateProvinceCode>AZ</StateProvinceCode> <CountryCode>US</CountryCode> <PostalCode>85032</PostalCode> </Address> </ShipTo> <ShipFrom> <Address> <City>San Jose</City> <StateProvinceCode>CA</StateProvinceCode> <CountryCode>US</CountryCode> <PostalCode>95112</PostalCode> </Address> </ShipFrom> <Package> <PackagingType> <Code>02</Code> </PackagingType> <Dimensions> <UnitOfMeasurement> <Code>IN</Code> </UnitOfMeasurement> <Length>5</Length> <Width>5</Width> <Height>5</Height> </Dimensions> <PackageWeight> <UnitOfMeasurement> <Code>LBS</Code> </UnitOfMeasurement> <Weight>18</Weight> </PackageWeight> <PackageServiceOptions> <InsuredValue> <CurrencyCode>USD</CurrencyCode> <MonetaryValue>169</MonetaryValue> </InsuredValue> </PackageServiceOptions> </Package> </Shipment></RatingServiceSelectionRequest>
2019-06-14 21:41:50 - UPS DATA RECV: <?xml version="1.0"?>
<RatingServiceSelectionResponse><Response><TransactionReference><CustomerContext>Bare Bones Rate Request</CustomerContext><XpciVersion>1.0001</XpciVersion></TransactionReference><ResponseStatusCode>1</ResponseStatusCode><ResponseStatusDescription>Success</ResponseStatusDescription></Response><RatedShipment><Service><Code>03</Code></Service><RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>18.0</Weight></BillingWeight><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>15.22</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>3.15</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>18.37</MonetaryValue></TotalCharges><GuaranteedDaysToDelivery/><ScheduledDeliveryTime/><RatedPackage><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>15.22</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>3.15</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>18.37</MonetaryValue></TotalCharges><Weight>18.0</Weight><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>18.0</Weight></BillingWeight></RatedPackage></RatedShipment><RatedShipment><Service><Code>12</Code></Service><RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>18.0</Weight></BillingWeight><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>40.57</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>3.15</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>43.72</MonetaryValue></TotalCharges><GuaranteedDaysToDelivery>3</GuaranteedDaysToDelivery><ScheduledDeliveryTime/><RatedPackage><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>40.57</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>3.15</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>43.72</MonetaryValue></TotalCharges><Weight>18.0</Weight><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>18.0</Weight></BillingWeight></RatedPackage></RatedShipment><RatedShipment><Service><Code>59</Code></Service><RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>18.0</Weight></BillingWeight><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>65.87</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>3.15</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>69.02</MonetaryValue></TotalCharges><GuaranteedDaysToDelivery>2</GuaranteedDaysToDelivery><ScheduledDeliveryTime>10:30 A.M.</ScheduledDeliveryTime><RatedPackage><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>65.87</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>3.15</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>69.02</MonetaryValue></TotalCharges><Weight>18.0</Weight><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>18.0</Weight></BillingWeight></RatedPackage></RatedShipment><RatedShipment><Service><Code>02</Code></Service><RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>18.0</Weight></BillingWeight><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>58.99</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>3.15</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>62.14</MonetaryValue></TotalCharges><GuaranteedDaysToDelivery>2</GuaranteedDaysToDelivery><ScheduledDeliveryTime/><RatedPackage><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>58.99</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>3.15</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>62.14</MonetaryValue></TotalCharges><Weight>18.0</Weight><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>18.0</Weight></BillingWeight></RatedPackage></RatedShipment><RatedShipment><Service><Code>13</Code></Service><RatedShipmentWarning>Your invoice may vary from the displayed reference rates</RatedShipmentWarning><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>18.0</Weight></BillingWeight><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>157.30</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>3.15</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>160.45</MonetaryValue></TotalCharges><GuaranteedDaysToDelivery>1</GuaranteedDaysToDelivery><ScheduledDeliveryTime>3:00 P.M.</ScheduledDeliveryTime><RatedPackage><TransportationCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>157.30</MonetaryValue></TransportationCharges><ServiceOptionsCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>3.15</MonetaryValue></ServiceOptionsCharges><TotalCharges><CurrencyCode>USD</CurrencyCode><MonetaryValue>160.45</MonetaryValue></TotalCharges><Weight>18.0</Weight><BillingWeight><UnitOfMeasurement><Code>LBS</Code></UnitOfMeasurement><Weight>18.0</Weight></BillingWeight></RatedPackage></RatedShipment><RatedShipment><Service><Code>14</Code></Service><RatedShipmentWarning>Your invoice may vary from the displayed reference

Re: OpenCart 3.0.3.1_rc UPS shipping returns “Warning: Shipping method required!”

Posted: Sat Jun 15, 2019 7:14 am
by straightlight
Logs looks fine. Might be a geo zone setting not matching the extension. PM sent.

Re: OpenCart 3.0.3.1_rc UPS shipping returns “Warning: Shipping method required!”

Posted: Sat Jun 15, 2019 8:19 am
by seekevin
Hi Straightline,
I have Geo Zone = All 48 continental states configured on UPS extension, What else need to match ?
thanks,

Re: OpenCart 3.0.3.1_rc UPS shipping returns “Warning: Shipping method required!”

Posted: Sun Jun 16, 2019 3:52 am
by seekevin
Anyone has their UPS shipping extension working on Opencart 3.0.3.1 ? Your input is value to me.

Re: OpenCart 3.0.3.1_rc UPS shipping returns “Warning: Shipping method required!”

Posted: Sun Jun 16, 2019 7:56 am
by straightlight
Compared the UPS files with the OC v3.0.3.2 release or with the master branch on Github.

Re: OpenCart 3.0.3.1_rc UPS shipping returns “Warning: Shipping method required!”

Posted: Mon Jun 17, 2019 10:08 am
by straightlight
I just found a massive patch solution for UPS on Github Opencart: https://github.com/opencart/opencart/co ... f49cde12b3 . See if that resolves the issue you are reporting about.

Re: OpenCart 3.0.3.1_rc UPS shipping returns “Warning: Shipping method required!”

Posted: Tue Jun 18, 2019 4:18 am
by seekevin
Thanks for the info.

Re: OpenCart 3.0.3.1_rc UPS shipping returns “Warning: Shipping method required!”

Posted: Thu Jun 20, 2019 7:37 am
by seekevin
Anyone who plans to install/upgrade to Opencart 3.0.3.1, please reconsider because at least UPS shipping method doesn't work or not support on this version. I just don't want you to waste your time. I have posted the issues a few week but no one prove to me otherwise. May be until 3.1 release ? until then..

Re: OpenCart 3.0.3.1_rc UPS shipping returns “Warning: Shipping method required!”

Posted: Thu Jun 20, 2019 8:09 am
by straightlight
seekevin wrote:
Thu Jun 20, 2019 7:37 am
Anyone who plans to install/upgrade to Opencart 3.0.3.1, please reconsider because at least UPS shipping method doesn't work or not support on this version. I just don't want you to waste your time. I have posted the issues a few week but no one prove to me otherwise. May be until 3.1 release ? until then..
That would be incorrect statement. A solution was posted on the above from this post: viewtopic.php?f=114&t=212223&p=757932#p757610 where patches have been distributed from Github to fix all the problems with UPS (at least the ones that were recently reported).

Re: OpenCart 3.0.3.1_rc UPS shipping returns “Warning: Shipping method required!”

Posted: Thu Jun 20, 2019 8:15 am
by seekevin
Straightlight,
Do you know anyone who applied these patches and claimed that fixes the issues ? I didn't hear from anyone including you.

Re: OpenCart 3.0.3.1_rc UPS shipping returns “Warning: Shipping method required!”

Posted: Thu Jun 20, 2019 8:21 am
by seekevin
FYI.. This is message I got from Opencart people,

kevincuongthai replied yesterday
What OpenCart release number has all these UPS patches ?

@falconkirtaran
Contributor Author
falconkirtaran replied yesterday
This code hasn't been released yet.
==============================================
Falcon Darkstar Momot <notifications@github.com>
Tue, Jun 18, 4:17 PM (1 day ago)
to opencart/opencart, me, Comment

This code hasn't been released yet.


Re: OpenCart 3.0.3.1_rc UPS shipping returns “Warning: Shipping method required!”

Posted: Thu Jun 20, 2019 8:28 am
by straightlight
seekevin wrote:
Thu Jun 20, 2019 8:15 am
Straightlight,
Do you know anyone who applied these patches and claimed that fixes the issues ? I didn't hear from anyone including you.
That's because nobody simply reported it after integrating it. Normally, what's been seen over the years is that when nobody replies back after finding their solutions, it simply means that the next people are on their own afterwards. Which is why, continuous topics are getting created despite if the forum search or Google search even exists. Otherwise, new users wouldn't feel the need to create new topics on the forum without following the forum rules 95% of the time.

A code being unpublished does not mean it is irrelevant code. It simply means the published codes may not yet have been integrated yet.

Re: OpenCart 3.0.3.1_rc UPS shipping returns “Warning: Shipping method required!”

Posted: Thu Jun 20, 2019 8:36 am
by seekevin
Straightlight,
I may not agree with you on this one. As a user, I don't want to take unpublished/released source codes.