marcel_nz Posted August 7, 2011 Share Posted August 7, 2011 When I try to checkout, and click on the Paypal box, website goes to 'modules/paypal/payment/submit.php' and then...nothing. All I see is 'Not logged' No errors in the logs, not even with debug enabled. Looks like the paypal module checks if I am logged in using cookies, and that part fails. Does that mean that the Paypal module thinks I am not logged into my prestashop shop? This a new install of Prestashop v1.4.3 (installed it just before 1.4.4 came out) - Have tried upgraded Paypal module to v2.6, made no difference. - Have reset module and regenerated paypal API keys, made no difference. - The validation page gives me a blank page (/modules/paypal/validation.php) and no errors in webserver logs. - Have tried different browser, made no difference - Have tried flushing the cache, made no difference Have checked servertime, php.ini settings, permissions, etc...what am I missing? (Also noticed that I am not the only one with this issue - haven't seen solution anywhere yet) Link to comment Share on other sites More sharing options...
marcel_nz Posted August 7, 2011 Author Share Posted August 7, 2011 Ah, may have found fix...will post solution shortly. Link to comment Share on other sites More sharing options...
ayman Posted August 7, 2011 Share Posted August 7, 2011 Ah, may have found fix...will post solution shortly. I have the same error now , can u help Link to comment Share on other sites More sharing options...
marcel_nz Posted August 7, 2011 Author Share Posted August 7, 2011 I have the same error now , can u help Secondary symptom is: Cannot delete, increase or decrease items in shopping cart, gives a an AJAX error. This is what worked for me: Go to 'preferences' -> SEO & URLs, scroll all the way down and clear one or both of the 'shop domain' URL fields. (I don't use SSL BTW) You'll see a warning every time you login, but hey...suddenly everything is working and most importantly, customers can buy from your shop Link to comment Share on other sites More sharing options...
ayman Posted August 7, 2011 Share Posted August 7, 2011 I have the same error now , can u help Secondary symptom is: Cannot delete, increase or decrease items in shopping cart, gives a an AJAX error. This is what worked for me: Go to 'preferences' -> SEO & URLs, scroll all the way down and clear one or both of the 'shop domain' URL fields. (I don't use SSL BTW) You'll see a warning every time you login, but hey...suddenly everything is working and most importantly, customers can buy from your shop you are the best man Link to comment Share on other sites More sharing options...
damian5000 Posted August 8, 2011 Share Posted August 8, 2011 Hmmm... I wouldn't call this one solved. Having to uncheck boxes that ends up in warnings? This seems like only 1.4.3. Anyone experience this in 1.4.4 yet? Link to comment Share on other sites More sharing options...
marcel_nz Posted August 8, 2011 Author Share Posted August 8, 2011 Hmmm... I wouldn't call this one solved. Having to uncheck boxes that ends up in warnings? This seems like only 1.4.3. Anyone experience this in 1.4.4 yet? The warning is: "Your are currently connected with the following domain name: www.foo.com This one is different from the main shop domain name set in "Preferences > SEO & URLs": " But, when I put that URL into the Shop Domain Name field, PayPal and shopping cart stop working. The instructions on the configuration page indicate that leaving it blank is perfectly fine? "Shop domain name" [_______________________] Domain name of your shop, used as a canonical URL (e.g., www.myshop.com). Keep it blank if you don't know what to do. At a guess I'd say this is somehow related to my webserver setup, and Prestashop thinks my website URL is different from what I think it should be. I haven't tried putting in the website URL without the 'www.'. Link to comment Share on other sites More sharing options...
Nils-H Posted August 9, 2011 Share Posted August 9, 2011 This fix unfortunately does not work for me... Link to comment Share on other sites More sharing options...
octagonal elf Posted November 18, 2011 Share Posted November 18, 2011 When I try to checkout, and click on the Paypal box, website goes to 'modules/paypal/payment/submit.php' and then...nothing. All I see is 'Not logged' No errors in the logs, not even with debug enabled. Looks like the paypal module checks if I am logged in using cookies, and that part fails. Does that mean that the Paypal module thinks I am not logged into my prestashop shop? This a new install of Prestashop v1.4.3 (installed it just before 1.4.4 came out) - Have tried upgraded Paypal module to v2.6, made no difference. - Have reset module and regenerated paypal API keys, made no difference. - The validation page gives me a blank page (/modules/paypal/validation.php) and no errors in webserver logs. - Have tried different browser, made no difference - Have tried flushing the cache, made no difference Have checked servertime, php.ini settings, permissions, etc...what am I missing? (Also noticed that I am not the only one with this issue - haven't seen solution anywhere yet) When you are at paypal/payment/submit.php page, and you logged out at this stage, the submit.php code will display the word "not logged" to notify you because you are not logged in, you may try to do this, for better appearance, redirect the user to account login page. Go to your submit.php code, look for the word 'not logged' if/else area, replace the statement below: header('location:http://www.yourdomain.com/authentication?back=my-account.php'); Hope this will work, you will try out. Please back up the file first. Link to comment Share on other sites More sharing options...
imad Posted January 22, 2012 Share Posted January 22, 2012 I had same problem. Now it works fine after I changed in "submit.php" line: 155 From: if (!$cookie->isLogged(true)) die('Not logged'); elseif (!$cart->getOrderTotal(true, PayPal::BOTH)) die('Empty cart'); To: if (!$cookie->isLogged(true)) header('location:../../../'); elseif (!$cart->getOrderTotal(true, PayPal::BOTH)) die('Empty cart'); 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