I haven’t seen this reported anywhere else, so I might as well throw a post up about it.
Valve recently launched their Steam Wallet feature, which was widely reported, but I just found a way to add custom amounts to your Steam Wallet (so you won’t be stuck with leftover pennies).
If you’re logged in and access the Steam Wallet page, you can add specific increments. If you look into what the actual buttons are doing, they’re all just using a javascript call to add those amounts, like “javascript:submitAddFunds( 1000 );”. As this gives you the necessary precision to add whatever amount of money needed, this will help to make sure you don’t have anything extra sitting around. Valve is still validating the amount to make sure it’s over $5.00, but it appears to work fine for any larger amounts.
So basically, go to the Steam Wallet page and throw “javascript:submitAddFunds( 1337 );” into your javascript console or address bar to try this for yourself.
Based on this interview, this looks like something they intended rather than an exploit, so I feel comfortable using it:
As gamers who’ve used these kinds of systems before, we wanted to avoid some things we didn’t like. One was being forced to add more funds than we wanted (and seeing purchase prices that didn’t seem to match the funding options) and the other was being forced to do conversion into some virtual currency in our heads.
We’re not doing either of these in the Steam Wallet.