A payment module is a regular PrestaShop module, except that it extends the
PaymentModule class instead of the
class BankWireMyOWnPaymentMethod extends PaymentModule
It can be attached to the following hooks:
payment: to display the payment method.
paymentReturn: to display the payment confirmation.
The handling of the payment itself is done through a controller or a remote server.