Jump to content

Paypal 500 server error


Kevin_V

Recommended Posts

Hello,

For someone, it works when in the file modules/paypal/api/paypalconnect.php

change the line
@curl_setopt($ch, CURLOPT_VERBOSE, true);
with the line
@curl_setopt($ch, CURLOPT_VERBOSE, false);

 

hope it works for you.

 

i have a similar problem, but i am blocked when i just confirm my paiement, then, a "502 Bad Gateway The server returned an invalid or incomplete response." occured (prestashop 1.4.11 Paypal 3.5.5).

i hope to find what happened.

  • Like 1
Link to comment
Share on other sites

if you've got internal server error (500) follow these instructions:

open: config/defines.inc.php

find this line
define('_PS_MODE_DEV_', false);
 

change to look like this:
define('_PS_MODE_DEV_', true);

 
 
then you will see where the problem occur (path to the file)
Link to comment
Share on other sites

  • 1 month later...

Hi guys,

 

just got the time to test the 2 suggestions. The first does'nt solve the problem. The 2nd suggestion ... i got this;

 

Notice: Use of undefined constant _RIJNDAEL_KEY_ - assumed '_RIJNDAEL_KEY_' in /home/hardware/public_html/classes/Cookie.php on line 80

Notice: Use of undefined constant _RIJNDAEL_IV_ - assumed '_RIJNDAEL_IV_' in /home/hardware/public_html/classes/Cookie.php on line 80

Notice: Undefined variable: tmp in /home/hardware/public_html/modules/paypal/api/paypal_connect.php on line 124

Fatal error: Using $this when not in object context in /home/hardware/public_html/tools/swift/Swift/Message/Headers.php on line 426

Edited by Kevin_V (see edit history)
Link to comment
Share on other sites

I think this is just updated in the latest version cause i can't find the bad lines anymore.

 

Just tried Paypal again in the updated version and got this;

 

Error occurred:

Please try to contact the merchant:

  1. PayPal response:
  2. ->
  3.  

 

I requested new creditentials and installed the latest paypal module.

 

Don't know anymore what to do. :( I'm searching the internet for simular problems but can't find any solutions.

 

This are the remaining problem lines;

 

Notice: Use of undefined constant _RIJNDAEL_KEY_ - assumed '_RIJNDAEL_KEY_' in /home/hardware/public_html/classes/Cookie.php on line 80

 

Notice: Use of undefined constant _RIJNDAEL_IV_ - assumed '_RIJNDAEL_IV_' in /home/hardware/public_html/classes/Cookie.php on line 80

Edited by Kevin_V (see edit history)
Link to comment
Share on other sites

Hi Benjamin,

 

i got the error on the last checkout page indeed. When i want to pay the screen goes blank and tries to connect to paypal. Then it returns the upper errors.

 

I'll forward the question to my hosting company and hope they get it sorted out.

 

Thanks anyway for the response!

 

Hello, Did you only get that error at the white page when trying to checkout.  The rijndael error is a server issue that you should contact your host about. They may need to do something on their side to have this working. It's not a common error at all.

Link to comment
Share on other sites

Just got feedback from the hosting company. They returned the error to the owner of the rijndael script. They say to ask it there.:(

 

Hello, Did you only get that error at the white page when trying to checkout.  The rijndael error is a server issue that you should contact your host about. They may need to do something on their side to have this working. It's not a common error at all.

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...