validatione-commercehugopayment-processingsnipcart

Snipcart: "URL of some products could not be reached" when test ordering on website


When test ordering something on my site, it shows the error URL of some products could not be reached after clicking order after filling out the test credit card details.

I am using the hargo-hugo theme with hugo for setting up snipcart.

How do I debug this issue?


Solution

  • There are different possibilities:

    See the snipcart documentation on order validation for how it works (really understanding how and why the flow works against hackers trying to modify prices can solve some more problems) and more suggestions what you need to do to make it work.

    When understanding this, you can follow up with more nuanced debugging steps like checking in the server logs of your webserver if a request is made from snipcart to validate and if the URL on which that request is made and the answer your server gives match what you expected and want.

    You can also check the debug logs of the snipcart server/service when clicking on the profile logo on the top right and then scroll down to Developer Logs on the list appearing on the right.