Why do we need to setup backend when using Stripe?

I would like to integrate Stripe payments into my app, and I’m confused why I need to setup a backend on Node.js (or other language) and use something like Heroku for my backend hosting? A bit lost here, and if anyone could point me in the right direction, I’d really appreciate it! Thanks!!

Super short answer: Because as soon as it is about handling money in any way you don’t want to let an untrusted client make any decisions.

1 Like