DEV Community

Discussion on: Five things I learned by building my own shopping cart and checkout with Gatsby and Stripe

Collapse
 
nhuynh1 profile image
Nancy

For Stripe, I think you should have something on the server-side to validate the price of your products -- you can do that with serverless functions or you can run your own server (i.e. with Node for example). So even if someone tries to manipulate the price on the client-side, the server-side will catch it and set the correct price.