News for hackers. Stuff that matters.
Re:The 14 pains of building your own billing system by bearjaws on Monday February 26, 2024 @08:28AM (#39511019)
I am not going to go into every nuanced issue, but to give context rounding errors alone costed us hundreds of thousands of dollars in customer support and eng time. I am talking Office Space style fractions of pennies type problems. Mostly due to how long it was an issue before it was caught.

Sure we could have probably botched implementation of some vendor, but we made every dumb mistake you could make and instead of doing it slowly we did it at scale.

Re:The 14 pains of building your own billing system by zie on Monday February 26, 2024 @10:52AM (#39512658)
Don't worry, every jurisdiction and bank will do the rounding of pennies differently, so you know, that's always a fun time.
Re:The 14 pains of building your own billing system by madsr on Monday February 26, 2024 @10:13AM (#39512154)
Speaking of fractions of pennies: I've configured my AWS Cloud invoice to be in Euros, and every month the Net amount plus the VAT amount is always 1 cent off the Total fee :P
Re:The 14 pains of building your own billing system by 6510 on Monday February 26, 2024 @09:42AM (#39511761)
I wrote my own arithmetic functions just to deal with the paranoia.