A Cash Payment Module
In the last chapter, we applied our different knowledge of module components and design patterns to a blogging module. That enables us to modify and add content to the Front Office (FO) and the Back Office (BO). Even if it is very important for online sellers to customize their website’s content and tools, they also need to have full control over payment options. As modules can provide new custom payment solutions, we will understand how to create a cash payment solution with a simple example.
Creating this module will follow these steps:
- Defining our module design
- Defining a PrestaShop payment module
- Creating our module structure
- Creating the payment validation controller
- Testing our module
By the end of this chapter, you will know how to create a standard payment module. You will master enough notions on payment modules to be able to create a new one for PrestaShop.