duplicating_money_order_payment_method_module

Last modified by ben_marks on Wed, July 24, 2013 13:00
Show Page|Old Revisions  

This shows you the differences between the selected revision and the current version of the page.

duplicating_money_order_payment_method_module 2011/10/25 09:05 duplicating_money_order_payment_method_module 2013/07/24 13:00 current
Line 1: Line 1:
-====== Duplicating money order payment method module ====== +Removed due to insufficiency.
- +
-**==> The best method is to find a free payment method (extension) that is working in the latest version and to use that for developing your method (because these extensions are developed in /local or /community, so the core can be updated easily without problems in the future)!** +
- +
-As developers experience it is difficult to build new shipping and payment methods in /local or /community since the new version 1.4.2.0 (or earlier). All the examples don't work. Until later when this all have fixed you can build it in the core now (so it works for all versions). There is another article "duplicate flat rate shipping method" and that works immediately. You only need to find out how to change it for your method. +
- +
-So you can duplicate the Check/Money order payment method module easily like the shipping one. How to remove it later, see the shipping one.  +
- +
-So duplicate it as follows (checkmo to checkmo1): +
- +
-- mage/payment/block/forms + info : duplicate checkmo.php to checkmo1.php (rename inside checkmo to checkmo1) +
- +
-- mage/payment/etc/config.xml + system.xml : duplicate the checkmo parts (and rename it to checkmo1) +
- +
-- mage/payment/model/method : duplicate checkmo.php to checkmo1.php (rename inside checkmo to checkmo1) +
- +
-- design/adminhtml/default/default/template/payment/form + info : duplicate checkmo.php to checkmo1.php (rename inside checkmo to checkmo1) +
- +
-- design/frontend/base/default/template/payment/form + info : duplicate checkmo.php to checkmo1.php (rename inside checkmo to checkmo1) +
- +
-That's it and no frustrations anymore ...+



 

Magento 2 GitHub Repository

Magento Job Board - Some sort of tag line goes here

Latest Posts| View all Jobs