archproject Posted January 30, 2011 Share Posted January 30, 2011 Hi all, I am trying to clone the bank wire module into 3 separate bank module .... with 3 different bank account on 3 different banks. so how can I do this the easy way ... ? I have copied the bankwire folder and made bankwirebankAbankwirebankBbankwirebankCand I have changed the php files inside the 3 folders into bankwirebankA.phpbankwirebankB.phpbankwirebankC.phpand I change every single word in bankwirebankA.php from bankwire to bankwirebankA and did the same to all other 2 files in their recpective directories.what else I need to do ? Link to comment Share on other sites More sharing options...
Zenith Posted January 31, 2011 Share Posted January 31, 2011 That's all, all three should be able to work together. Link to comment Share on other sites More sharing options...
webplus Posted February 16, 2011 Share Posted February 16, 2011 If you want to use the accounts for different currency, you also need to setup payment module restrictions per currency on Payment tab.And btw, you need to edit all files, i.e. validation.php and payment.php, not only bankwire.php Link to comment Share on other sites More sharing options...
sunandmoon21 Posted July 6, 2011 Share Posted July 6, 2011 does anyone can post a working bankwire copy for PS 1.4? Link to comment Share on other sites More sharing options...
carbik Posted September 25, 2011 Share Posted September 25, 2011 You (and other) can try this (from my Presta 1.4.4.0). bankwire2.zip Link to comment Share on other sites More sharing options...
carbik Posted September 30, 2011 Share Posted September 30, 2011 Fixed version, built on an earlier version of the bankwire module. Tested on 1.4.4.0 bankwire2.zip 2 Link to comment Share on other sites More sharing options...
intx Posted March 22, 2012 Share Posted March 22, 2012 Fixed version, built on an earlier version of the bankwire module. Tested on 1.4.4.0 Hi, is it working for 1.4.7, anybody tried? Link to comment Share on other sites More sharing options...
bobmartinusa Posted August 9, 2012 Share Posted August 9, 2012 yes tested on 1.4.7.3 works like a charm Link to comment Share on other sites More sharing options...
mtporter Posted September 4, 2012 Share Posted September 4, 2012 Is there an authorize.net clone? Link to comment Share on other sites More sharing options...
Bistry Posted December 10, 2012 Share Posted December 10, 2012 Fixed version, built on an earlier version of the bankwire module. Tested on 1.4.4.0 Thanks for your share! Can anyone help me by telling how to make a new email for a bankwire2 module? Just copying bankwire.html in /mails folder and adding number 2 to title doesnt helps Link to comment Share on other sites More sharing options...
Bistry Posted December 19, 2012 Share Posted December 19, 2012 Anyone??? Some tips probably...? I'll appreciate any help... Link to comment Share on other sites More sharing options...
moishakeys Posted April 3, 2013 Share Posted April 3, 2013 Fixed version, built on an earlier version of the bankwire module. Tested on 1.4.4.0 Please can I have it for PS1.5.3? I need to create more than one bankwire for my store and I think I can do this by reinstalling this module Link to comment Share on other sites More sharing options...
sendil1211 Posted May 15, 2013 Share Posted May 15, 2013 You (and other) can try this (from my Presta 1.4.4.0). thank you very, its very useful for me.............. Link to comment Share on other sites More sharing options...
taoufiqaitali Posted June 12, 2013 Share Posted June 12, 2013 hi Fixed version, built on an earlier version of the bankwire module. Tested on 1.4.4.0 Fixed version, built on an earlier version of the bankwire module. Tested on 1.4.4.0 Hi is this cloned version work for prestashop 1.5 ? i try to clone bankwire module but not worked Link to comment Share on other sites More sharing options...
taoufiqaitali Posted June 12, 2013 Share Posted June 12, 2013 Please can I have it for PS1.5.3? I need to create more than one bankwire for my store and I think I can do this by reinstalling this module Hi try this one exist in this post, it for prestashop 1.5 http://www.prestashop.com/forums/topic/230706-solvedhow-could-i-clone-the-bankwire-module/ Link to comment Share on other sites More sharing options...
stunomatic Posted August 28, 2014 Share Posted August 28, 2014 Hello, I duplicate bank wire module and working fine with prestashop version 1.6.0.9. I did lots of changes in file and don't even remember what I did :S but you can check files to view changes. Thank you publicbank-bankwire.zip cimb-bankwire.zip 2 Link to comment Share on other sites More sharing options...
tinybibiya Posted February 24, 2015 Share Posted February 24, 2015 Hello, I duplicate bank wire module and working fine with prestashop version 1.6.0.9. I did lots of changes in file and don't even remember what I did :S but you can check files to view changes. Thank you Hi stunomatic, can you make 1 for maybank please? Link to comment Share on other sites More sharing options...
PrestaRob Posted June 9, 2015 Share Posted June 9, 2015 (edited) Hi there, I'm trying to clone bankwire on Prestashop 1.6.0.14 and the solution of stunomatic works ALMOST perfect. Problem is on the last step of the order process. It is probably caused by some minor change between 1.6.0.9 and 1.6.0.14 but I can not figure it out. When I click on the last step of ther order process (website/module/publicbank/payment) on the confirmation button, 500 SERVER ERROR pops up. So I turned on debugging and it says this: [PrestaShopException]Can't load Order statusat line 178 in file classes/PaymentModule.php 173. 174. $order_status = new OrderState((int)$id_order_state, (int)$this->context->language->id); 175. if (!Validate::isLoadedObject($order_status)) 176. { 177. PrestaShopLogger::addLog('PaymentModule::validateOrder - Order Status cannot be loaded', 3, null, 'Cart', (int)$id_cart, true); 178. throw new PrestaShopException('Can\'t load Order status'); 179. } 180. 181. if (!$this->active) 182. { 183. PrestaShopLogger::addLog('PaymentModule::validateOrder - Module is not active', 3, null, 'Cart', (int)$id_cart, true); PaymentModuleCore->validateOrder - [line 127 - modules/publicbank/controllers/front/validation.php] - [9 Arguments] 122. 123. ); 124. 125. 126. 127. $this->module->validateOrder($cart->id, Configuration::get('PS_OS_PUBLICBANK'), $total, $this->module->displayName, NULL, $mailVars, (int)$currency->id, false, $customer->secure_key); 128. 129. Tools::redirect('index.php?controller=order-confirmation&id_cart='.$cart->id.'&id_module='.$this->module->id.'&id_order='.$this->module->currentOrder.'&key='.$customer->secure_key); 130. 131. } 132. PublicbankValidationModuleFrontController->postProcess - [line 171 - classes/controller/Controller.php] 166. // setMedia MUST be called before postProcess 167. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) 168. $this->setMedia(); 169. 170. // postProcess handles ajaxProcess 171. $this->postProcess(); 172. 173. if (!empty($this->redirect_after)) 174. $this->redirect(); 175. 176. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) ControllerCore->run - [line 373 - classes/Dispatcher.php] 368. // Execute hook dispatcher 369. if (isset($params_hook_action_dispatcher)) 370. Hook::exec('actionDispatcher', $params_hook_action_dispatcher); 371. 372. // Running controller 373. $controller->run(); 374. } 375. catch (PrestaShopException $e) 376. { 377. $e->displayMessage(); 378. } DispatcherCore->dispatch - [line 28 - index.php] 23. * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 24. * International Registered Trademark & Property of PrestaShop SA 25. */ 26. 27. require(dirname(__FILE__).'/config/config.inc.php'); 28. Dispatcher::getInstance()->dispatch(); I've seen similar problem in other topic and they say the problem is caused by database tables (ps_order_state, ps_order_state_lang) so I've tried to import default tables but it didn't solve anything. Will we figure this out together? Edited June 9, 2015 by PrestaRob (see edit history) Link to comment Share on other sites More sharing options...
paolo82 Posted March 27, 2017 Share Posted March 27, 2017 Same problem error 500 any solutions? Link to comment Share on other sites More sharing options...
johnchristy Posted February 10, 2019 Share Posted February 10, 2019 im having this same issue - Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now