bigberge Posted April 9, 2009 Posted April 9, 2009 Hi. I juste installer the newest 2.2 version rca ... I have the module Paypal Standard, wich is working fine. I want the module to use my Micro Payment Paypal email for transactions under 12$ et my Standard Paypal email for transactions over 12$. Someone explained to me how to enable/disable a module vs the price... My problem is: When i tried to duplicate the paypal_standard.php module and renaming it paypal_micro.php ( and changing everything that was named standard for micro in each files related that i duplicated to renaming them ) i can install the paypal micro module that i created, but its not working... SOO : How can i have 2 standard paypal modules on the same os commerce is my question. because the only difference i need between them is the billing email. Thanks
mirko007 Posted April 9, 2009 Posted April 9, 2009 Hi. I juste installer the newest 2.2 version rca ... I have the module Paypal Standard, wich is working fine. I want the module to use my Micro Payment Paypal email for transactions under 12$ et my Standard Paypal email for transactions over 12$. Someone explained to me how to enable/disable a module vs the price... My problem is: When i tried to duplicate the paypal_standard.php module and renaming it paypal_micro.php ( and changing everything that was named standard for micro in each files related that i duplicated to renaming them ) i can install the paypal micro module that i created, but its not working... SOO : How can i have 2 standard paypal modules on the same os commerce is my question. because the only difference i need between them is the billing email. Thanks the problem is you use the same configuration names so you can not make it working good. I can tell you how I duplicate modules: IT IS ONLY EXAMPLE MAKE BACKUP FILES YOU WILL CHANGE AND YOUR DATABASE BEFORE TRY. edit your module in your editor (eg. paypal_standard.php) search for paypal_standard replace all paypal_standard2 most of editors have a tool to replace all found words save as paypal_standard2.php now go to includes/languages/english/modules/payment/paypal_standard.php edit and replace the same paypal_standard to paypal_standard2 now save your language file as paypal_standard2.php now go to your admin panel install new module like any other and change configuration Regards
Recommended Posts
Archived
This topic is now archived and is closed to further replies.