lifebrands Posted October 4, 2010 Share Posted October 4, 2010 Ok, I know there have been topics formed for this issue and I have read everything that I can find. I have also tried everything that I have read. Everything appears to be configured properly and I am at a loss. Customers can go through the checkout process and everything appears to work fine. They are given a confirmation number and the money appears in the paypal account but when they are redirected back to the site, the cart is still full and on our end, the order never shows up in orders. When I type in http://www.spotlight-baby.com/shop/modules/paypal/validation.php'>http://www.spotlight-baby.com/shop/modules/paypal/validation.php it comes up with no errors and has a blank white screen like it should. I have gone in and manually routed the IPN to the address listed above. I am at a loss as to what it could be and need this shop up and running ASAP. This is the last issue that I am having. I have created several other sites using prestashop and never had this issue. PLEASE HELP!site = http://www.spotlight-baby.com/shop Link to comment Share on other sites More sharing options...
MrBaseball34 Posted October 4, 2010 Share Posted October 4, 2010 Most likely happens because the status being sent back from PP. A lot of times, they send back "Pending"See this for a fix:http://www.presto-changeo.com/content/10-fixing-paypal-problems Link to comment Share on other sites More sharing options...
lifebrands Posted October 4, 2010 Author Share Posted October 4, 2010 I have read that page previously and everything on it looks good on our end. The status sent back from Paypal is "completed" Link to comment Share on other sites More sharing options...
MrBaseball34 Posted October 4, 2010 Share Posted October 4, 2010 "completed" or "Completed"There is a difference... Link to comment Share on other sites More sharing options...
shokinro Posted October 4, 2010 Share Posted October 4, 2010 One possible cause is that your shop does not send the correct notify URL to Paypal server. Please confirm 1. Make sure the configuration of __PS_BASE_URI__ is correct in config/setting.inc.php. In you case it should be "/shop/" as following.define('__PS_BASE_URI__', '/shop/');2. Make sure that your shop send correct notify URL to Paypal server. In your case, in the form post from your shop to Paypal server, the line should be look as following. <input type="hidden" name="notify_url" value="http://www.spotlight-baby.com/shop/modules/paypal/validation.php" /> Please visit here on how to check The data and form posted from your shop to Paypal Link to comment Share on other sites More sharing options...
MrBaseball34 Posted October 4, 2010 Share Posted October 4, 2010 One possible cause is that your shop does not send the correct notify URL to Paypal server. Please confirm 1. Make sure the configuration of __PS_BASE_URI__ is correct in config/setting.inc.php. In you case it should be "/shop/" as following.define('__PS_BASE_URI__', '/shop/'); Not necessarily, not every one has their shop in the /shop directory.I did this in order to get a copy of my sent info, in validation.php, right before the line, fputs($fp, $header.$params);: mail("[email protected]","Paypal Post Sent",$headers.print_r($params,true)); and to get the return from PayPal before this line: if (!empty($errors)) {: mail("[email protected]","Paypal Post Rcvd","".print_r($_POST,true)); Link to comment Share on other sites More sharing options...
shokinro Posted October 4, 2010 Share Posted October 4, 2010 Thanks for the comments>Not necessarily, not every one has their shop in the /shop directory. My suggestion was based on shop URL: "site = http://www.spotlight-baby.com/shop" from the original post.>I did this in order to get a copy of my sent info, in validation.php, right before the line, fputs($fp, $header.$params);:validation.php is run after Paypal processed data/payment and sends back for validation, it send back to the notify URL the which is posted from shop at redirect.php page.If the notify URL is wrong, Paypal will never reach the validation.php page so you never get your emails.Maybe my understanding is wrong. It doesn't hurt to check if the notify URL is correct or not. Link to comment Share on other sites More sharing options...
codegrunt Posted October 19, 2010 Share Posted October 19, 2010 As this just hit a client I was working with I thought I should post here in case this was the cause of the original poster's problem.Unfortunately PayPal has changed their "notify_url" behaviour sometime recently so the documentation for the stock PayPal module in Prestashop is incorrect. If you have IPN set to "disabled" in your PayPal account no IPNs will be sent regardless of whether you pass a notify_url value. This can be easily demonstrated using a sandbox PayPal account. You need to set a static URL in the IPN section of your PayPal profile. If this is present then the "notify_url" will be honoured. There is supposed to be an "off" only option for IPN which would allow you to skip having a default URL but it appears to be missing from the PayPal interface at the moment (not sure if it is a bug, changed feature, in transition or regional).Here are some PayPal developer forum posts on this subject:https://www.x.com/message/178306https://www.x.com/thread/44671If you have the "off" option then try that but if not, you will have to specify a URL on the PayPal side to get IPN working.Cheers Link to comment Share on other sites More sharing options...
shokinro Posted October 20, 2010 Share Posted October 20, 2010 Thanks for sharing this.This is very useful information. That also explained the trouble happened at my site a few weeks ago. The IPN at My Paypal account was enabled, but the IPN URL was pointed to a old website which was stopped 3 years ago. But with weird setting, my Paypal module had been working fine for my new PrestaShop until some day I removed my IPN setting at my Paypal account. I didn't notice the trouble at beginning, until my customer informed me. It took me a lot time and tried a lot of things, including set a new IPN URL to my new site and made it worked again. It means, we will have to enable IPN at Paypal Account to make Paypal at PrestaShop work? Link to comment Share on other sites More sharing options...
djayyy Posted November 5, 2010 Share Posted November 5, 2010 Just what i needed, reset the IPN in Paypal and now my orders are being created again in the back office. Many thanks. Link to comment Share on other sites More sharing options...
cool cellphone case Posted May 3, 2011 Share Posted May 3, 2011 Just what i needed, reset the IPN in Paypal and now my orders are being created again in the back office. Many thanks. how do you fix it? i got the same problem that received payment but no order formed in the back office Link to comment Share on other sites More sharing options...
cool cellphone case Posted May 3, 2011 Share Posted May 3, 2011 do i have to enable ipn in my paypal as it in prestashop wiki? i have several shops using same paypal account so i disabled it. is there any way to usa api to sort it out? Link to comment Share on other sites More sharing options...
Recommended Posts