Closed falehenrique closed 8 years ago
Hi,
Usually the modules send the customer secure_key as a parameter. The function validateOrder already fallback on the cart secure_key when it is not sent.
The module was not to sending this parameter, some clients was talking about the message above.
Now, we are sending the parameter and this resolved.
Yeah, but this is not what I meant.
We could send the customer secure_key, and if it does not exists, the function validateOrder()
would fallback automatically on the cart secure_key.
With your fix and when I'm looking to the PrestaShop code, I would think that we finally deal with exactly same variable. With this info, I don't know how the situation could be fixed by reaching earlier this Context attribute. That's why I suggest another one to use.
Best regards
I did the same thing, like this comments of forum.
https://www.prestashop.com/forums/topic/190360-mensajes-del-cliente-warning-the-secure-key-is-empty/
Hi @falehenrique,
Your PR has just been merged. For your information if the issue still occurs, think to use a customer secure_key, as I said in my last message.
Best regards
Some user was complaining about the message "Warning: the secure key is empty, check your payment account before validation"
Was necessary to send the parameter $cart->secure_key for the function PaymentModuleCore.validateOrder