logoalt Hacker News

grim_iotoday at 2:53 PM1 replyview on HN

How did all of the capitalism get to be JavaScript?

Let's keep ourselves a bit grounded.

No, payments certainly don't run on JavaScript, unless all you know about payment systems are the web frontends.


Replies

purplemoonxtoday at 3:47 PM

If you knew anything about payment systems, you'd know you get a nonce or receiptID and it is a front-end only thing. You don't do the backend banking yourself.

Maybe your backend sends an email, or saves the receipt, but that's peripheral.

The entire Payments flow is front-end capture, then the service doing all the actual backend payment part. It's a black box from your end and you can decide to do it entirely front-end if you wanted. There's no way around it.