Jump to content
johnchristy

Cloning Bankwire module - prestashop v1.6.1.17

Recommended Posts

Hi friends,

I'm following these 2 guides to clone bankwire module -

http://rocinantesoftware.blogspot.com/2015/11/how-to-make-copy-of-prestashop-16-bank_2.html

It's working but the last payment return screen is throwing 500 errors. So I enabled debug mode and this is what i got : https://pastebin.com/TKUgFsTb

Screenshot - https://www.dropbox.com/s/4ple016u6r3h2q1/2019-02-09_13-49-48.png?dl=0

Then I managed to fix the validateorder error which is

59. 			'{banktransfer_owner}' => Configuration::get('BANK_WIRE_OWNER'),
60. 			'{banktransfer_details}' => nl2br(Configuration::get('BANK_WIRE_DETAILS')),
61. 			'{banktransfer_address}' => nl2br(Configuration::get('BANK_WIRE_ADDRESS'))
62. 		);
63. 
64. 		$this->module->validateOrder($cart->id, Configuration::get('PS_OS_banktransfer'), $total, $this->module->displayName, NULL, $mailVars, (int)$currency->id, false, $customer->secure_key);
65. 		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);
66. 	}
67. }

 

I changed PS_OS_banktransfer to PS_OS_BANKTRANSFER. then I didnt get any errors  but upon completion it's not showing the full contents of my payment_return.tpl

It's only showing this (screenshot) - https://www.dropbox.com/s/rkrszoie7eifocs/2019-02-09_13-43-47.png?dl=0

Any idea how can I clone this module without any errors?

Thanks

Share this post


Link to post
Share on other sites

Looking for cloned version of bank transfer module too. Anyone has working module for that ?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More