I have products with dynamic pricing that i am fetching using sanity and I just want to use its checkout only to handle payments. Can it be possible to disabling its crawling feature? Because whenever i tried to checkout, it’s giving me error. If it is possible to disable it, then please disable it and let me know if i go live then it will work properly after that or again i need to ask you disable it?
You won’t be able to disable this — it’s a built-in security feature. Snipcart uses it to ensure that product data (like pricing) hasn’t been tampered with via JavaScript manipulation on the client side. Since Snipcart is essentially a client-side JavaScript plugin and doesn’t store product definitions internally, it relies on validating the data before processing the payment.
Snipcart uses two types of crawlers:
- One that extracts product data directly from your page’s HTML.
- Another that reads from a JSON endpoint you define.
If you’re using dynamic pricing from a third-party system, you’ll need to expose a URL (usually a JSON endpoint) that Snipcart can crawl to verify that the cart contents — including prices — are accurate and haven’t been modified.
This validation is fundamental to how Snipcart operates and helps maintain transaction integrity.