IeM Posted December 15, 2013 Share Posted December 15, 2013 (edited) V1.5.6.1 Hi, I am trying to install the core (included with Prestashop download) "Cash on Delivery COD" module. When testing it, it hangs on the following page: site.com/module/cashondelivery/validation This page is blank and the payment is not processed. Any ideas as this module is needed? Thanks Edited April 26, 2015 by IeM (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted December 15, 2013 Share Posted December 15, 2013 whenever you see a blank page or a 500 error turn on errors to get the underlying error 'code'. then you can typically search on that and find more help. http://www.prestashop.com/forums/topic/224525-how-to-turn-on-error-reporting-for-debug-information/ Link to comment Share on other sites More sharing options...
fiddler1 Posted December 15, 2013 Share Posted December 15, 2013 I posted a partial solution to this problem last night here: http://www.prestashop.com/forums/topic/293437-cash-on-delivery-cod-04-not-working/ I say "partial solution" because there remains an issue with the software working outside of SSL to finish the transaction. Link to comment Share on other sites More sharing options...
IeM Posted December 17, 2013 Author Share Posted December 17, 2013 I tried above solution but with no luck, however, now I have a bigger issue with error on registration page saying the password is too short so no one can register. I will have to work on the later before I come back to this COD issue as it is now #2 priority. Thanks Link to comment Share on other sites More sharing options...
vekia Posted December 17, 2013 Share Posted December 17, 2013 and what about error reporting suggested by El Patron above? have you tried to turn it on? any error appeared? Link to comment Share on other sites More sharing options...
IeM Posted December 19, 2013 Author Share Posted December 19, 2013 Hi, Ok, I believe I have it working thanks to your assistance. I turned error checking on in the config/defines.inc.php file as well and this is what I got: Parse error: syntax error, unexpected T_SL, expecting T_FUNCTION in /home/xxxxxxxx/public_html/site.net/www/modules/cashondelivery/controllers/front/validation.php on line 33 Line 32 has: public $ssl = true; Line 33 has: <<<<<<< HEAD Line 34 has: ======= Line 35 has: public $display_column_left = false; Line 36 has: >>>>>>> 8e0xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx I replaced the real numbers with xxxx.. I commented lines 33, 34, and 36 out and then I had an issue with line 74 and on as it is the same as lines 33 through to 36 so I commented them out except 75 (public $display_column_left = false;). I do not know what the numbers on 36 and 77 are about so I hope that they are not required as I commented them out. Thanks again. Link to comment Share on other sites More sharing options...
WebUp Posted December 24, 2013 Share Posted December 24, 2013 I have tried with two versions of COD on PS 1.5.4.1 custom theme(tried with default also) and every time I get blank order confirmation page. Doesn anyone has a solution for the problem? Link to comment Share on other sites More sharing options...
IeM Posted December 28, 2013 Author Share Posted December 28, 2013 Hi WebUp, Did you try removing the lines as described above? That did the job for me. Link to comment Share on other sites More sharing options...
arunvankar Posted March 27, 2015 Share Posted March 27, 2015 i want free cash on delivery module 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