r/shittyprogramming • u/mikaey00 • Jan 16 '20
JavaScript: it's a security risk
Overheard on a call one of my colleagues just got off of:
Colleague: "So why aren't you able to add our JavaScript to your checkout page?"
Client: "Oh, we disable JavaScript on our entire checkout page."
Colleague: "...why?"
Client: "It's a security risk."
Colleague: <head explodes>
136
Upvotes
View all comments
Show parent comment
4
u/Sarcastic-Potato Jan 17 '20
The company I work at uses an external payment provider and they require you to use their Javascript..so yeah, we need Javascript on the checkout page. Not saying it's a good idea, but we are not allowed to use stripe or anything else because they have a contract with that payment provider.