Here, we're going to build the base of a payment method. This is something that won't have a purpose, but to provide us with a base—which we can build on—to create our fuller featured payment method.
It will show us what the bare bones are in order for you to be able to later go on and create a fully functional method later on.
We need to start by declaring our module to the system. We'll do this by creating the file
/app/etc/modules/ and filling it with the following XML code:
<?xml version="1.0"?> <config> <modules> <MagentoBook_PaymentModule> <active>true</active> <codePool>local</codePool> <depends> <Mage_Payment /> </depends> <version>0.1.0</version> </MagentoBook_PaymentModule> ...