Snipcart
snipcart.com
Snipcart
1–10 of 20 posts
Re: Snipcart
#2Re: Snipcart
#3data-item-price="0.01"
I skimmed through the documentation, but didn't see any real mention of this concern. I think it should be highlighted.
Seems that by allowing it to be in markup it might encourage people to be negligent and perhaps miss verifying that the submitted price is correct... maybe I'm missing something here.
Re: Snipcart
#4I'm confused, is the price actually stored in the DOM?
One of the Snipcart's strength is that you do not have to enter your product inventory anywhere. Most of the time you will always have an inventory somewhere or an existing database, so we did not want to have you duplicate information.
So how does it work? All your product information is stored in the HTML markup.
Kind of a major oversight.
I don't really see much use for this, why give another 2% of your sales away? Stripe is already ridiculously easy to integrate.
Re: Snipcart
#5So, as a web developer, I'm not seeing anything that would inspire confidence regarding someone simply inspecting & changing this data attribute to: data-item-price="0.01" I skimmed through the documentation, but didn't see any real mention of this concern. I think it should be highlighted. Seems that by allowing it to be in markup it might encourage people to be negligent and perhaps miss verifying that the submitte…
But, yes, if that's the case then that should be highlighted in the docs.
Re: Snipcart
#6So, as a web developer, I'm not seeing anything that would inspire confidence regarding someone simply inspecting & changing this data attribute to: data-item-price="0.01" I skimmed through the documentation, but didn't see any real mention of this concern. I think it should be highlighted. Seems that by allowing it to be in markup it might encourage people to be negligent and perhaps miss verifying that the submitte…
Presumably they crawl the website on signup and watch out for major changes in price like that? But, yes, if that's the case then that should be highlighted in the docs.
We validate that no product informations has been altered.
If so, we simply ignore the order and nothing is charged or processed.
Re: Snipcart
#7Re: Snipcart
#8I'm confused, is the price actually stored in the DOM?
Yes, in the documentation they are selling that as a feature. One of the Snipcart's strength is that you do not have to enter your product inventory anywhere. Most of the time you will always have an inventory somewhere or an existing database, so we did not want to have you duplicate information. So how does it work? All your product information is stored in the HTML markup. Kind of a major oversight. I don't really…
Re: Snipcart
#9So, as a web developer, I'm not seeing anything that would inspire confidence regarding someone simply inspecting & changing this data attribute to: data-item-price="0.01" I skimmed through the documentation, but didn't see any real mention of this concern. I think it should be highlighted. Seems that by allowing it to be in markup it might encourage people to be negligent and perhaps miss verifying that the submitte…
Re: Snipcart
#10Earlier quoted context omitted.
Presumably they crawl the website on signup and watch out for major changes in price like that? But, yes, if that's the case then that should be highlighted in the docs.
We crawl the page that you specify within the data-item-url attribute. We validate that no product informations has been altered. If so, we simply ignore the order and nothing is charged or processed.