We need to make the following actions in order to create a module with one payment method that will?

  • accept credit card information
  • authorize it when an order is submitted
  • save the transaction ID in order payment record

  • Module declaration, module configuration, adapter model, declaring configuration options for admin panel, database updates
  • Module declaration, module validation, module configuration, declaring configuration options for admin panel, database updates
  • Module declaration, module validation, module configuration, adapter model, declare configuration options for admin panel, database updates
  • Configuration options from admin panel

Бля, тупой индус скопипастил вопрос отсюда, но скопипастил неряшливо.
urfusion.net/wp-content/uploads/2012/03/theunical_magento_developer_guide.pdf

adapter model отсутствует у payment methods, но присутствует у shipping methods.
module validation вообще у всех отсустствует.

Т.е. все ответы неверны, но я предлагаю рискнуть и дать ответ 1.