spexistechnology Posted June 11, 2013 Share Posted June 11, 2013 (edited) My shop url is http://www..com.au/ with a custom theme. PrestaShop version is 1.5.4.1 and paypal module version is 3.5.1. I've a below issue. When I/customers make payments through Paypal they get presented with a blank OrderConfirmation page after successful payment. At the backend though all goes well. The transaction gets completed successfully. I did the testing with the sandbox and I get presented with a proper order confirmation page. Please help. Regards, solved. Edited June 27, 2013 by spexistechnology (see edit history) 1 Link to comment Share on other sites More sharing options...
TomHal Posted August 7, 2013 Share Posted August 7, 2013 Identical issue here - this seems to be some kind of timing issue - pausing the execution of the program (presumably until PayPal's IPN hits your server) may clear this issue up. We've only tested this in Sandbox mode - we can't afford to roll this out to a live environment until we can be confident that this won't be a production issue. Link to comment Share on other sites More sharing options...
spexistechnology Posted August 7, 2013 Author Share Posted August 7, 2013 it will work in sandbox mode as the invoice is not generated during the process but will not work in live mode as the invoice is generated. I had a prestashop programmer to fix this one for me. he mentioned that paypal module is not compatible with some code in one of the php files and he changed the coding. It works great now! which version or PS are you using? I can give you some files from my PS and see if they work on yours? Link to comment Share on other sites More sharing options...
TomHal Posted August 8, 2013 Share Posted August 8, 2013 Actually we've resolved this by simply turning off the re-direct after the PayPal purchase is completed. For some reason the PayPal module still re-directs to a self-hosted confirmation page, but it at least seems to wait for the IPN from PayPal before doing so. I haven't dug into the code much to work this out but basically it's not well documented from either the module, or PayPal's end. Lots of trial and error unfortunately! Glad you got your issue sorted Link to comment Share on other sites More sharing options...
spexistechnology Posted August 8, 2013 Author Share Posted August 8, 2013 where did u turn off the redirecting and which file..if you don't mind? I'm going to have another online shop soon and don't want to use any programmer this time if i can do it myself. Link to comment Share on other sites More sharing options...
TomHal Posted August 8, 2013 Share Posted August 8, 2013 In your PayPal account, go to Profile, then underneath the 'Web Payments Pro' section, click 'Settings'. You will find the option to use a redirect or a PayPal generated confirmation page. Keep in mind that the URL you enter in the PayPal settings will automatically be overwritten by the PrestaShop module - by default it will set the redirect URL to a confirmation page which is provided by the module itself (check modules/paypal/views/templates/front/order-confirmation.tpl). Unfortunately the module offers no ability to customise this URL or the confirmation page - you will have to do so manually by editing the template file or changing the redirect URL. Link to comment Share on other sites More sharing options...
spexistechnology Posted August 8, 2013 Author Share Posted August 8, 2013 great! thank you for this information..saw this thing a while ago in paypal but did not try. I'll try this for my new shop and see if it works. Thanks again. Link to comment Share on other sites More sharing options...
Mephivio Posted August 8, 2013 Share Posted August 8, 2013 So IPN is not mandatory ? Is your Back Office is still update when an order is placed with PayPal payment ? 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