Live data from Hacker News

Snipcart

snipcart.com

1–10 of 20 posts

Re: Snipcart

#3
So, 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 submitted price is correct... maybe I'm missing something here.

Re: Snipcart

#4
post #2

I'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 see much use for this, why give another 2% of your sales away? Stripe is already ridiculously easy to integrate.

Re: Snipcart

#5

So, 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.

Re: Snipcart

#6
post #5

So, 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 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.

Re: Snipcart

#8
post #2

I'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…

Yes Stripe is easy to integrate, but we are mostly focusing on frontend developers that want a customizable shopping cart, with all the features like shipping rates calculation, full control on the CSS and a dashboard for their customers with the orders.

Re: Snipcart

#9

So, 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…

What really scares me is that there's no mention of security on their site aside from the usual "we use HTTPS" line.

Re: Snipcart

#10
post #5

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

Who specifies the page? Is that set up in the SnipCart admin?
Post reply on HN