Jump to content

Server 500 Error Paymentmodule::validateorder - Order Cannot Be Created


Recommended Posts

Hi there,

 

Recently, I duplicated an active Prestashop site to a development domain. I then upgraded the site, made some cosmetic changes, and then copied back over the live site. The upgrade was from 1.5.4 to 1.6.1.3. This is a CentOS 6.x 64-bit server running PHP 5.5.30 via FastCGI.

 

Most everything is working, except the payment step at checkout. I'm using the AuthorizeAIM module. The credit card gets processed, but I'm seeing a Server 500 Error. This is true whether AuthorizeAIM is in test or live mode. It appears to be a problem with validating the order.

 

The Prestashop log shows the following error: PaymentModule::validateOrder - Order cannot be created

 

The server log file shows this error: 

71.100.49.98 - - [15/Dec/2015:12:45:43 -0600] "POST /modules/authorizeaim/validation.php HTTP/1.1" 500 385

 

I've tried a few things from Googling...

  1. Turning off invoicing. That didn't help.
  2. Checking the ps_order_state table. It's OK.
  3. Uninstalling the AuthroizeAIM module, deleting the files, and the reinstalling it. Didn't change anything.

The error would appear to be occurring here in validation.php:

 

case 1: // Payment accepted
$authorizeaim->setTransactionDetail($response);
$authorizeaim->validateOrder((int)$cart->id,
Configuration::get('PS_OS_PAYMENT'), (float)$response[9],
$payment_method, $message, NULL, NULL, false, $customer->secure_key);
break ;
 
case 4: // Hold for review
$authorizeaim->validateOrder((int)$cart->id,
Configuration::get('AUTHORIZE_AIM_HOLD_REVIEW_OS'), (float)$response[9],
$authorizeaim->displayName, $response[3], NULL, NULL, false, $customer->secure_key);
break ;
 
I'd appreciate your ideas and feedback.
 
Thank you,
James
 

 

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