r/shittyprogramming • • 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

72 comments sorted by

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.

2

u/Earhacker Jan 17 '20

I never said these payment providers don’t exist. I said I would make a convincing argument to use a different solution or provider.

2

u/Sarcastic-Potato Jan 17 '20

Oh definitely, but it's not like I can change it..