Summary
In this chapter, we saw how to create a fully functional payment module. You learned how to validate a cart into an order, create new order states, and send e-mails. You also learned how to work with a third-party API.
In the next chapter, we will learn how to configure multistore and make your module compliant with this feature.