balburl Posted February 2, 2013 Share Posted February 2, 2013 Hi, I am setting up my shop with PrestaShop 1.5.3 and am a total newbie to PrestaShop! I got my PayPal module working now that will take me to PayPal for payment, but after payment, the page goes white. Can someone tell me which module/document?? I need to redirect my PayPal IPN to after payment is complete? I only sell downloadable product files. Thank you, Brenda Link to comment Share on other sites More sharing options...
El Patron Posted February 2, 2013 Share Posted February 2, 2013 turn on prestashop error report (search using google), typically a white page is just an error...that you need to know you can also take a look at logs in your back office or the logs in your hosting account.... but turning on errors is best, make sure to post your ps version in this post and in the future Link to comment Share on other sites More sharing options...
balburl Posted February 2, 2013 Author Share Posted February 2, 2013 (edited) Hi elpatron, Thanks for your response. I googled error report and what I found was this: Log into your hosting admin dashboard, control panel, SSH, or FTP client. Navigate to the PrestaShop 1.5 root folder. From there, navigate the path /config/config.inc.php Open up the config.inc.php file in the text editor. Find the line of code that reads "@ini_set('display_errors', 'off')" This is line 29 by default in PrestaShop 1.5 Change it to read "@ini_set('display_errors', 'on')" Save the config.inc.php file back to the path, overwriting the existing file if needed. There is no line of code in the config.inc.php file that looks like this - and actually line 29 is blank! I am in version 1.5.3. Is there another place I need to look? PayPal verion is 3.4.4 Can you tell me what I need to put in PayPal in the IPN as the page that returns the customer to my site to download their products? Thank you! Edited February 2, 2013 by balburl (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted February 2, 2013 Share Posted February 2, 2013 1.5.3 config/defines.inc.php define('_PS_MODE_DEV_', true); Link to comment Share on other sites More sharing options...
balburl Posted February 2, 2013 Author Share Posted February 2, 2013 Thank you so much. Now I have the error which is a fatal error. Can you tell me what it means? Sorry, but never had this problem with Zen Cart and I really don't want to go back to zen! I really like Presta! This is the error I get. Fatal error: Uncaught exception 'PrestaShopException' with message 'Property OrderDetail->id_warehouse is empty' in /home3/songbir5/public_html/classes/ObjectModel.php:837 Stack trace: #0 /home3/songbir5/public_html/classes/ObjectModel.php(264): ObjectModelCore->validateFields() #1 /home3/songbir5/public_html/classes/ObjectModel.php(464): ObjectModelCore->getFields() #2 /home3/songbir5/public_html/classes/ObjectModel.php(426): ObjectModelCore->add(true, false) #3 /home3/songbir5/public_html/classes/order/OrderDetail.php(579): ObjectModelCore->save() #4 /home3/songbir5/public_html/classes/order/OrderDetail.php(603): OrderDetailCore->create(Object(Order), Object(Cart), Array, 2, 0, true, '') #5 /home3/songbir5/public_html/classes/PaymentModule.php(283): OrderDetailCore->createList(Object(Order), Object(Cart), 2, Array, 0, true, '') #6 /home3/songbir5/public_html/override/classes/PaymentModule.php(9): PaymentModuleCore->validateOrder(780, 2, 1, 'PayPal', 'Payment accepte...', Array, 1, false, 'd42ea381923ebd3...', Object(Sho in /home3/songbir5/public_html/classes/ObjectModel.php on line 837 Thank you! Link to comment Share on other sites More sharing options...
El Patron Posted February 2, 2013 Share Posted February 2, 2013 now the beauty of google...you take part of that message and search (never use prestashop forum search, if that worked they would be google) we see this: http://forge.prestashop.com/browse/PSCFV-7580 with this fix on github http://forge.prestashop.com/browse/PSCFV-7580?focusedCommentId=68084&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-68084 don't forget the little green like button....and mark this solved when you get it fixed... suerte! 1 Link to comment Share on other sites More sharing options...
balburl Posted February 2, 2013 Author Share Posted February 2, 2013 (edited) Hi - me again! I applied the fix noted. Then the cart would not go to PayPal at all. I had read somewhere that someone had to disable the required check for reading terms and conditions, so I did that. Everything went through PayPal and redirected me back to my account page, but there is no option to download the product! There is an icon that appears to be a link, but when you click, the page scrolls down and there is nothing else to click. I see a box that shows Reference Product Quantity Price --- Name of Product 1 But there is no link! Should there be something in reference?? Thanks! PS: I created screen shots, but do not know how to post those here! Edited February 2, 2013 by balburl (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted February 2, 2013 Share Posted February 2, 2013 Hi - me again! I applied the fix noted. Then the cart would not go to PayPal at all. I had read somewhere that someone had to disable the required check for reading terms and conditions, so I did that. Everything went through PayPal and redirected me back to my account page, but there is no option to download the product! There is an icon that appears to be a link, but when you click, the page scrolls down and there is nothing else to click. I see a box that shows Reference Product Quantity Price --- Name of Product 1 But there is no link! Should there be something in reference?? Thanks! PS: I created screen shots, but do not know how to post those here! darn...well you got paypal working... re. download...that is determined by the theme...typically though, one goest to their orders to get the download...not some link there on the return page..but some may do you have mail alerts module installed and configured? The customer should get a link to the download via email a well... 1 Link to comment Share on other sites More sharing options...
balburl Posted February 2, 2013 Author Share Posted February 2, 2013 I am using a modified (mostly changing colors and background, and disabling some boxes) theme based on the default theme. And yes, I do have the email configured and I did receive an email but there is no link. Only link is to download a pdf invoice. I am testing this through my personal customer paypal account, with my own account created in the store. But there is not a link in my orders or in the email I received. Any other suggestions? Link to comment Share on other sites More sharing options...
El Patron Posted February 2, 2013 Share Posted February 2, 2013 well...sometimes we break what can not be broken...without looking the site personally...I can't hazard a guess...you can pm me... Link to comment Share on other sites More sharing options...
Recommended Posts