r/webdev•
hassanzadeh

How do I model monthly charges in my database

Hey Guys,

I'm coding a website that charges customers on a monthly basis. But I can't get my head around the right way to model that so that no user is charged redundantly and also if he switches to a free plan, I won't keep charging him. Any thoughts?

Posted Dec 23, 2019, 1:18 AM UTC

19
Loading comments…