1

When a user orders using a valid address any where in Massachusetts or Montana then attempts to proceed past the shipping step of the one page checkout They're hit with the following errors;

Table rates shipping method selected; (Magento native configuration)

error;

POST daad827….js:12695 POST http://livingfresh.com/rest/default/V1/guest-carts/423071982511bf7b3d3fa8a0c1e9d228/shipping-information 404 (Not Found)

Upon navigating to the link above I land on a page that states; "This XML file does not appear to have any style information associated with it. The document tree is shown below."

<response>
<message>Request does not match any route.</message>
</response>

error comes from file;

http://livingfresh.com/pub/static/_cache/merged/daad827d0070acc6a4deedf6cf1c72ae.js

offending code in file above;

// Do send the request
// This may raise an exception which is actually
// handled in jQuery.ajax (so no try/catch here)
xhr.send( ( options.hasContent && options.data ) || null );

When the user tries to use the express method (Magento native configuration) they get a 400 error from the same code and the same file.

Thanks.

  • U have created Custom module? As per it's saying u need to define Routing in Magento to Access that page. – Ankit Shah Sep 14 '16 at 3:51
  • I don't believe so, what would you recommend on troubleshooting this? – Aus-tn Sep 14 '16 at 14:34
0

This might happen when third-party/own modules try to add data to quote and do not consider that there must be an additional implementation for guest quotes and/or use the wrong classes.

As far as I was able to figure this out:

Use \Magento\Quote\Model\GuestCart\GuestCartRepository for guests

And \Magento\Quote\Model\QuoteRepository for existing customers

0

Turns out our AvaTax add-on was causing the issue, disabling it resolved the issue.

admin panel > stores > config > sales > tax > enable AvaTax > No

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.