Jump to content

Paypal Module 404 Error (payment.php)


Ste00

Recommended Posts

Anyone else having this issue today since the paypal module up-dated?

 

Page that the module points to from the last checkout screen is no longer in the module directory...

 

Anyone got the old module so that i can restore our site?

Link to comment
Share on other sites

We are using prestashop 1.5.2 and the paypal module version is 3.4.4 the issue we are having is that once you click on paypal as your payment service provider the next page 404's

 

"Remote server or file not found

 

You tried to access the address https://www.petremedies.co.uk/modules/paypal/express_checkout/payment.php, which is currently unavailable. Please make sure that the web address (URL) is correctly spelled and punctuated, then try reloading the page."

 

This module was OK until the up-grade we have also tried re-setting and re-installing the module.

 

If you like i have a test customer group setup on our site and can add you to it if you create a account so that you can see for yourself?

Link to comment
Share on other sites

my problem solved.

In my paypal module there was a sub-dir with chmod 777 that I change with 755 (755 for dir and 644 for file in paypal module).

Than there was a new error code when processing the confirm of the payment, in this case I rewrite api code and now work fine.

Hope to be useful for someone

Link to comment
Share on other sites

hi guys.

I have the same problem with the newest version of the module and prestashop 1.5.2

The permissions are already at 755 for dir and 644 for files so that wasnt able to fix it like sith77 did.

I emailed the developer about it. lets hope he can give a solution.

I would also love to hear it if any of you found something else to fix this.

Link to comment
Share on other sites

I'm guessing there is no official fix for this yet as I also e-mailed the dev the day we found the issue... No reply as of yet :(

 

Fortunately we have other payment options available but its a bit of a pain because paypal is popular and easy to use... not a good loss when your trying to convince the boss that prestashop was a good move...

Link to comment
Share on other sites

I have a problem with Paypal module too and think this prob is like yours

 

my Paypal module worked well but after upgrading to 3.4.4, it didnt work more and it seems some files and folders is missed..

 

I checked a website that use prestashop (http://www.fashion-vetement.com)and when u want to pay by Paypal the target link is: http://www.fashion-vetement.com/modules/paypal/standard/redirect.php but in my site (http://iranadsense.ir) the target link is javascript:void(0) and then it goes to http://iranadsense.ir/modules/paypal/express_checkout/payment.php

 

I checked my folders and there isn't any STANDARD folder or REDIRECT file that can do it

 

I think the new version is Incomplete and have many bugs...

Link to comment
Share on other sites

+1.

When I cancel an order it shows a 404

When I go until the payment with a Paypal account it shows a blankpage. I don't know what is the behavior if I enter a credit card...

Anyone can help with a temporary fix? This is really for me cause I have no other payment solution.

Cheers

  • Like 1
Link to comment
Share on other sites

  • 1 month later...

hey guys. Ive got the same problem. Trouble is, I've tried changing file permissions but it didn't work Im afraid. This error occurred since I mapped a new URL to the web hosting root and in order for the website to work I had to change the URL base in the config file. Does any one know the solution to this matter?

Link to comment
Share on other sites

  • 1 year later...

Hey,

 

This solved my problem:

 

1. I changed modules folder permissions to 755. Only the modules folder, not sub folders.

 

2. I changed all paypal folder permissions to 755 and all file permissions to 644.

 

3. Benefit!

 

Prestashop 1.5.6.2 & Paypal 3.6.8 | Constantina's solution saved my day!!!! Thank you!!!

  • Like 1
Link to comment
Share on other sites

Hello there,

 

I'm having the same problem with PrestaShop 1.6.0.6 and PayPal 3.7.1.

I did what Constantina suggested but it still doesn't work.

 

It's pretty weird that an official release got these problems.

 

Any help?

Thanks.

Link to comment
Share on other sites

  • 4 weeks later...
  • 6 months later...

I had this problem, ensured that the permissions were set as listed above, but that didn't fix it, but probably helped. Then set the owner and group to that of the other modules which then cured the problem. In my case the owner was probably different due FTP.
 

 

Via SSH

Change directory permissions, replace pathtowebsite with appropriate path
find /pathtowebsite/modules/paypal -type d -exec chmod 755 {} +

Change file permissions, replace pathtowebsite with appropriate path
find /pathtowebsite/modules/paypal -type f -exec chmod 644 {} +

Change owner and group, replacing the ??? with appropriate values taken from the other modules
chown -R ???:??? /pathtowebsite/modules/paypal

Link to comment
Share on other sites

  • 2 months later...

hi everybody, i had the same problem ( im completely neewby to all this ) but i solved the problem. i log into my panel and go to security and switch off Modsecurity and paypal works for me now:-) i had spend all day looking how to fix it and it was so simple...

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

Nobody got any update on this or how to fix the issue? I am tearing my hair out as I might have to leave PrestaShop and use another shop as I need to get online. Since I haven't even taken my first order, I am in a position to jump ship if I have to, but don't want to.

Link to comment
Share on other sites

I am ONLINE!!! Yay

For me it was both comments that other people put in here. The first was that the 'module' folder's permissions was on 777. I set it to 755 and tried a test order. The order went through further as did not get the mis configuration error, but did get another one but was presented in my shop site so I knew it wasn't a major issue. I tried to copy/paste my API setting in once more (done it soooo many times over the last few days) and hey presto it works fine! I then logged into PayPal as the shop admin and did a full refund which also worked.

 

So, yes the 755 permissions for the 'module' folder AND re-copy/pasting the API settings sorted me out and I am a very happy chap.

 Thank you so much @sith77 for your first suggestion of doing this.

  • Like 1
Link to comment
Share on other sites

Hey,

 

This solved my problem:

 

1. I changed modules folder permissions to 755. Only the modules folder, not sub folders.

 

2. I changed all paypal folder permissions to 755 and all file permissions to 644.

 

3. Benefit!

Hi,

It worked for me,the only thing i must do was the modules folder to set it to 755!Everthing else was already ok.

So the other question is,would it also be ok for the other modules?

Nice to see it working again!

Thanks

  • Like 1
Link to comment
Share on other sites

Hi,

It worked for me,the only thing i must do was the modules folder to set it to 755!Everthing else was already ok.

So the other question is,would it also be ok for the other modules?

Nice to see it working again!

Thanks

 

Hello, I think it works for all modules.

  • Like 1
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...