Prestashop paypal module

This post introduces a serie of Prestashop tutorials. Because you need various type of addons to keep your Prestashop online store running, we will not talk not about Easy Retail Manager but also about other related topics we think could help.

Paypal is a worldwide payment gate allowing both electronic payment and money transfer. It is a good alternative to traditional paper methods such as checks and does not require a subscription to start. Paypal is now probably the most famous payment gate in the world.

Prestashop comes with a free Paypal plug-in. Last month I was setting up a Prestashop web store to one of my customer. When I came to the payment gate configuration and test. I kept getting this message at the end of checkout just before payment. I have an ssl cert but can’t understand why this kept coming up. I have spent  few hours trying to work it out so far and it was driving me mad.

PayPal response:
TIMESTAMP -> 2013-06-25T19:52:02Z
L_ERRORCODE0 -> 10002
L_SHORTMESSAGE0 -> Security error
L_LONGMESSAGE0 -> Security header is not valid

Well It has a link with my module configuration. In most cases, this error is caused by human mistakes. This error indicates that something goes wrong with your Paypal account information(API user/signature) to authenticate you to communicate with Paypal server. So the solution is pretty much simple. In the one hand side, make sure you have input correct information.  Then go to the Settings tab in the PayPal module page. Make sure that the first line that says: Sandbox mode (tests): is set to “Inactive” .  I had mine set to “Active” and thatwa the reason why I was getting this message. You may need to reset the Prestashop Paypal module as well.