Jump to content

[Solved] Fatal error during checkout (secure_key problem)


Recommended Posts

While trying to isolate the error I saw that the error is caused when the following statement is executed:

cashondelivery/validation.php:

$cashOnDelivery->validateOrder((int)($cart->id), _PS_OS_PREPARATION_, $total, $cashOnDelivery->displayName, NULL, array(), NULL, false,$customer->secure_key);

Link to comment
Share on other sites

Can someone tell me please what is the use of the secure_key?

I isolated the problem. It is cause here:

/classes/PaymentModule.php (101)

            if ($secure_key !== false AND $secure_key != $cart->secure_key)
               die(Tools::displayError());



Please, any help is valuable!

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