One day someone will use the SQL injection to execute code on the remote server to add message to the web site that tells the workers to unionise and demand actually fair wages and put an end to the whole tipping nonsense
Programmer Humor
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
Please write this code and I'll do it ~~tomorrow~~ when stuff opens today.
The meme says "IRS", so it's obviously intended to refer to America.
But outside of that context, they'd fucking deserve it for their shitty dark pattern UX trying to export American tipping culture into the civilised world. If people want to tip, they can do it using cash (so the money actually goes to the person you intended it to!). Or at most, there could be a little "tip" button in the corner somewhere that then takes you to a page like this. It shouldn't be shoved in our faces like this.
Live in a country where tipping is practically unheard of. Lately pay terminals have started appearing in restaurants that have asking for tip enabled by default, and restaurants often don't know how to disable it.
Well, at least there are some safeguards. I was handed the terminal so I put in my PIN code, not realising it was actually asking for a tip. I was pretty confused when it said "value too high" or something like that.
restaurants often don't know how to disable it.
The owners know how. They also know that by leaving it there they make extra money on top of sales. They also know that the person getting berated for having it there is the worker who can't change it.
I was the SME over POS terminals in a past job.
Owners are often the biggest morons at the location.
Before that, I used the same basic software package at Subway because the owner couldn't be bothered, and the manager, great lady, was not technically apt.
Taalen's PIN > 0001 confirmed.
I, an American, was ashamed when I had to ask that a tip be removed from my bill at a restaurant in Camden.
CAMDEN WAS SUPPOSED TO BE WOKE AND Y'ALL FUCKING DOG OVER HERE
Pay your damn staff a good wage
Camden in Sydney? That's appalling. It's bad enough to be presented with a screen like in the OP. Needing to actually speak to a person to not have a tip added sounds probably illegal.
Camden Town in London actually; historically counterculture, but punk is dead at The Cheese Bar.
Yes, if it had been in Australia. Report it when you see it.
In most places even if you tip cash they are supposed to keep that for the tip pool and it is split. Often among the cook staff and other people at the restaurant.
the adjectives on the tip options are so weird lol What a shitty system to even exist
I want to know what it says under 30%.
I think it's "Best Service Ever".
The picture on this page seems to have the same screen minus the red box.
Thank you, my curiosity is now fully satisfied!
"I'm drunk"
"Best Service Ever!"
"Scammed"
What code could I enter there to get them to pay me for the food? 🤔
Negative tip value.
I'd love to know what this would actually do.
Edit: Thanks for the responses and lively discussion!!
its an sql injection attack.
its rather unlikely that it works in a modern app.
assuming this would work,
it injects a command in the sql database.
it is assumed that the app runs a sql querry with the input field as a parameter e.g.
INSERT INTO "bills" (item, ammount, tip) VALUES ("steak", "20,00 $", "content of the custom tip goes here");
the semicolon indicates the end of the querry,
so the the text would cause the app to run an unfinished querry, and then start a new querry that messes up the content of the bills table.
Assuming the accounting system this thing links with both does not protect from SQL injection attacks (many don't, despite it being easy to protect against) and also has a table named "Bills" with a field named "amount"; what this would do is go through every single Bills record and half the value in the amount field. This would completely fuck the system, particularly when it came to billing and tax filing as the numbers for accounts billing and receivable wouldn't even come close to matching each other. The accounting department would have a hell of a time fixing the damage.
I wish 15% and 18% were options. Normally it's more like 20%, 25% (default), 28%, 30%
Eventually people will say that about the current options lol.
There should be no default percent options at all. None.
'complete transaction' or 'add optional tip'.
I hate %, give me a option to round up to the nearest 5. This is useful for my financial tracking, and I'm willing to bet a lot of people would like nice round numbers. If I buy a coffee or whatever and it's $7 I round up to $10, not because I'm trying to give a good tip but because it's more convenient for me when I'm sitting there doing my finances (I track everything) and while I know that not everyone would universally agree maybe they would only want to round up to the nearest whole dollar the fact remains I feel like most places would actually end up with more total tips overall if that was a one button option
Too complicated. Just enter a negative number.
No negative sign on the keyboard. But you can enter 2147483647
Risky gamble there