Adding Nontax Fees

One day our buddies at the Snow Globe Theater come to us with two requests. First, they’d like to charge a processing fee because they’d just like to make some extra money for doing the same amount of work. Second, they get a bunch of requests to send tickets via the physical mail, and they’d like a way to add extra money to an order to cover the mailing costs.

As a quick aside, obviously the Snow Globe Theater is fictional, and I, the author, am setting out these tasks for you to do because I hope they show interesting things about financial applications. In this case, I want to have one automatic fee and one that only applies based on user choice. I also want to start dealing with addresses before we start dealing with taxes. ...

Get Take My Money now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.