Jump to content

PayPal Redirect Problem


otts

Recommended Posts

I am using the latest version of Prestashop and am using the PayPal v1.7.1 Module. I am not sure what I am doing incorrectly, but when testing the purchase of a product everything works until I try to click the Paypal button. Upon doing so I am redirected to the main page of my store except the URL now reads http://blackrockpowdercompany.com/modules/paypal/redirect.php.

I am not sure what further details I need to provide so that someone might be able to help me. My website address is www.blackrockpowdercompany.com. I have added all of the correct Paypal information such as email address, and I have configured the Paypal side according to the instructions given by the module.!

I have also put together a Prestashop testing site that I have configured using my personal Paypal account and it redirects the way it is supposed to. I have taken the files ../modules/paypal/redirect.php and compared them side by side and there is no difference, so my problem does not lie their. I am out of options at this point and have no clue where to look.

Any help would be appreciated and please ask me any questions that might help you helping me solve this. Thank you so much for your time

Link to comment
Share on other sites

I tried uploading the module via FTP twice and I still get the same problem. This is the worst feeling getting this far in a project only to realize that one simple process is going to stop me if I don't find a solution. :( I wish I could just pay someone to look at it since this is my first dealings with an ecommerce site.

Again, if anyone knows of a solution I am all ears. And thank you for your time in assisting me Troy!

Link to comment
Share on other sites

Your site is getting a 500 internal server error when it attempts to access modules/paypal/redirect.php

Your server appears to be running PHP as FastCGI - you might want to first check your file/folder permissions are correct.

.php files need to be 600, .tpl and other files can be 644. Folders need to be 755

If the permissions seem Ok, ask your hosting company to look at the logs.

Link to comment
Share on other sites

I will do that and let you know what I come up with Pixel. Thank you!

Also I forgot to ask, do all of the files and folders on the entire site need to be set up with these permissions or just the files in the paypal folder? And another thing. I created a duplicate site for testing and did nothing different as far as setup is concerned, yet, the redirect works just fine on the testing site but not on the main site I need it to work on. I am stumped.

Link to comment
Share on other sites

Thanks carvemore for the advice. However, I double checked all of the permissions and everything is set as it is supposed to be. I have hired a developer that has built many sites with Prestashop to look at the issue and this is the first thing he looked at and he determined that all of my permissions were set correctly as well. I have hired him to troubleshoot the issue and see if he can find a solution but he seems stumped as well. I guess we will wait and see. Thank you all so much for your input and please, if someone can think of something we haven't then feel free to share. There has to be a logical solution somewhere. Meanwhile I am going to go over the server logs.

Link to comment
Share on other sites

  • 3 months later...
i have this problem, just changed the permissions in modules/paypal and its still coming up with the 500 internal error plus a 404 error.


I had the same problem. You must change directory and file permissions. Set all Prestashop directories to 0755, all files to 0644 and it should work without any problems.

Hope this was helpful.

Cheers,
Housy
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...