This service is, of course, oversimplified and does not fully work within the context of a real-life shopping platform. In this section, we will explore what you could do, though, to get it ready for production. You may have extensions in mind that are not listed here, and that's perfectly okay. This section is meant to show you examples of how to extend the service so you can apply your own extension.
Remember that each microservice is unique. If you are planning on using this microservice for multiple shops, copy it for every shop and customize it then. It's not meant to be one-size-fits-all.
We will look at the following sections:
- Adding taxes
- Adding payment methods
- Adding refunds and coupons
Let's start with taxes.