Post by seekevin » Tue Jun 11, 2019 8:52 am

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 !

New member

Posts

Joined
Sun Mar 03, 2019 6:37 am

Post by straightlight » Wed Jun 12, 2019 12:11 am

Geo Zones may not be configured.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by seekevin » Wed Jun 12, 2019 2:32 am

Yes, Geo Zone is configured Country = United States, Zone=All Zones.
Any other idea ?

New member

Posts

Joined
Sun Mar 03, 2019 6:37 am

Post by straightlight » Wed Jun 12, 2019 2:40 am


Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by seekevin » Wed Jun 12, 2019 6:21 am

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

New member

Posts

Joined
Sun Mar 03, 2019 6:37 am

Post by straightlight » Wed Jun 12, 2019 6:27 am

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 .

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by seekevin » Fri Jun 14, 2019 1:26 am

Thanks so much for your response and help. got the error.log file.

New member

Posts

Joined
Sun Mar 03, 2019 6:37 am

Post by seekevin » Sat Jun 15, 2019 5:53 am

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

New member

Posts

Joined
Sun Mar 03, 2019 6:37 am

Post by straightlight » Sat Jun 15, 2019 7:14 am

Logs looks fine. Might be a geo zone setting not matching the extension. PM sent.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by seekevin » Sat Jun 15, 2019 8:19 am

Hi Straightline,
I have Geo Zone = All 48 continental states configured on UPS extension, What else need to match ?
thanks,

New member

Posts

Joined
Sun Mar 03, 2019 6:37 am

Post by seekevin » Sun Jun 16, 2019 3:52 am

Anyone has their UPS shipping extension working on Opencart 3.0.3.1 ? Your input is value to me.

New member

Posts

Joined
Sun Mar 03, 2019 6:37 am

Post by straightlight » Sun Jun 16, 2019 7:56 am

Compared the UPS files with the OC v3.0.3.2 release or with the master branch on Github.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by straightlight » Mon Jun 17, 2019 10:08 am

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.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by seekevin » Tue Jun 18, 2019 4:18 am

Thanks for the info.

New member

Posts

Joined
Sun Mar 03, 2019 6:37 am

Post by seekevin » 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..

New member

Posts

Joined
Sun Mar 03, 2019 6:37 am

Post by straightlight » Thu Jun 20, 2019 8:09 am

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).

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by seekevin » 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.

New member

Posts

Joined
Sun Mar 03, 2019 6:37 am

Post by seekevin » Thu Jun 20, 2019 8:21 am

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.


New member

Posts

Joined
Sun Mar 03, 2019 6:37 am

Post by straightlight » Thu Jun 20, 2019 8:28 am

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.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by seekevin » Thu Jun 20, 2019 8:36 am

Straightlight,
I may not agree with you on this one. As a user, I don't want to take unpublished/released source codes.

New member

Posts

Joined
Sun Mar 03, 2019 6:37 am
Who is online

Users browsing this forum: No registered users and 15 guests