Marco's PrestaShop 1.5 & 1.6 Authentication for Joomla

Prestashop to Joomla bridgeThis Joomla! plugin allows to customers of a PrestaShop™ e-commerce to access to a Joomla! site without a new registration.

Joomla! is an excellent cms, but is not comparable to PrestaShop in the pure e-commerce use; here a smart  authentication bridge between the two worlds.

A plugin for PrestaShop and Joomla integration

Prestashop to Joomla bridgeThis plugin allows to use an existent PrestaShop e-commerce to authenticate its users on a Joomla installation.

It works exactly like the Joomla! Gmail Autentication plugin, and integrates PrestaShop with Joomla!.
This extension is also published on, if you like, it vote it or write a review, thank you. 


  • PrestaShop 1.5 and 1.6 and Joomla Integration
  • plugin works on J2.5 and J3.x sites;
  • no need of double registration;
  • allows you to use PrestaShop for the e-commerce and Joomla! for the CMS;


Prestashop Configuration

Access the back end of your PrestaShop ecommerce, choose the "Webservice" item under the "Advanced Parameters" menu and then select "Yes" for the "Enable PrestaShop's webservice".

Now you need to create a new key for connectint to the server; see: for detailed instructions.

Please create a web service with the minimal privileges: you have to enable only the GET method for the customers resource

Last step recover the cookie key for password encryption. Open he file configuration/ in the Prestashop installation, locate the line with:

define('_COOKIE_KEY_', 'VeRy_lOnG_ANd_StrAnGE_StRInG');

Copy the VeRy_lOnG_ANd_StrAnGE_StRInG in the Prestashop cookie key parameter of the plugin configuration

This plugin doesn't support direct Db access. It's too dangerous to keep both the encryption key and the db credentials together. If someones hacks your Joomla! installation can also register himself as a prestashop's administrator. If you use the web service there is no way to hack PrestaShop from here.



the joomla logoJoomla Plugin Configuration

Simply download the plugin, install it and activate it:

  • URL of shop:
    Url of the PrestaShop installation, with the protocol and without the trailing slash. Like in:
  • WS Authorization Key:
    Authorization Key needed to access the PrestaShop web services
  • Prestashop cookie key:
    The _COOKIE_KEY_ value from the file configuration/ in the Prestashop installation


Note: Prestashop SEF URL must be enabled to use web services.


Download J2.5 and J3.x version for PrestaShop 1.5 & 1.6

This extension is also published on, if you like, it vote it or write a review, thank you.

Note: PrestaShop 1.6 is supported till version only, because PrestaShop's team did not release the new web service library.



0 #8 Vangelis 2014-07-02 15:38
Hello Marco.
Just one question to clarify before my attempt to bridge presta & joomla.
What I need is to have a prestashop webshop but use joomla to build custom cms menu of this prestashop. So the prestashop will be the main platform and joomla will be used for enriching webshop's platform.
Is this plugin appropriate for this use?

I think it's ok.
0 #7 Guido 2014-06-15 17:59
Ciao Marco, vorrei porti una domanda in merito al modulo in oggetto. Sono riuscito a far autenticare gli utenti che si erano registrati in prestashop da joomla, ma quando provo il contrario non avviene. Il tuo modulo, è unidirezionale? Ossia, gli utenti che si sono già registrati in joomla, si possono loggare in prestashop con le stesse credenziali?
Grazie comunque del tuo lavoro.

==== Risposta
ciao Guido,
al momento il plugin funziona solo nel modo indicato e come sei riuscito ad usarlo.
per autenticare in PS gli utenti di joomla servirebbe un modulo per PS. tieni comunque presente che così come sono, gli utenti joomla non possono essere usati per PS (ad esempio PS richiede nome e cognome separati).
0 #6 Tom 2014-04-16 08:39
Hi Marco,
Thanks for this, but it doesn't seem to work for me.
What username should they use when trying to login to joomla? Do they use their email address, like with prestashop?
Also, does it work for PS1.6?

=== Answer
v1.00 it is only for PS1.5, new version is coming...
0 #5 Guest 2014-04-08 07:58
im using joomla version 3.2.3. it keeps prompting Failed to authenticate: Other error on PrestaShop host (enable debug)
where did i went wrong? and also prestashop im using the latest version and i Enable CGI mode for PHP

'Other error on PrestaShop host' means server error on no connection.
which version of prestashop are you using? this plugin is for PS v1.5.
for PS1.6 is coming...

ps: no mail, no answer

0 #4 Guest 2014-03-10 11:43
Hi Marco,

I download and test it in J2.5 et P1.4, but nothing.

I enable the web service, create the key, copy the cookie key...

But the authentificatio n in J! failed...

Hi thomas
it for PS1.5 only, not tested in PS1.4.
I suppose the problem is the cookie key and the way to encode the pw used in PS1.4, but I have not PS1.4 for testing, sorry.

0 #3 Guest 2014-03-01 17:25

I have you a demo ?

==== Answer
Hi Thomas!
No, there is not a demo.

I don't know if I understood correctly what you wrote, but this plugin is a simple authentication brigde, nothing more.

The plugin authenticates prestashop's users on a Joomla site: really I don't believe it needs a demo. It would be more complex setting up a demo system than to download it and to test it.

have a nice day,
0 #2 Guest 2014-02-26 04:03
Hi Marco,
That issue seems to have gone away now, something to do with being logged in in PS already. But I'd like to be able to log into Joomla and be logged in status in PS when I go to the store. At the moment I can log in to Joomla using PS credentials but have to log in again in PS to purchase. Should this plugin do that?
Thanks again,

==== Answer

Hi Andrew,
there is no relationship between the authentication in Prestashop and the Joomla's one.

This plugin only checks if the user exists in Prestashop (using web services, without log), if so, it creates the user in Joomla and logins as this user: this plugin avoids the double registration, not the double login.

Prestashop is not an authentication platform, as some social networks are, so you need two logins. To get what you want, would require a component also for the Prestashop side; if there will be requests to do so, maybe I will start the development.

have a nice day,
0 #1 Guest 2014-02-26 02:12
HI Marco,
I'm getting an error
"Failed to authenticate: Bad auth key for PrestaShop web service"
When trying to login to joomla with PS credentials.
I've check and rechecked the install, any ideas?

==== Answer
Hi Andrew,
did you enable SEF in Prestashop?

Aggiungi commento

Please note: URL in text are not linked and site address is only for internal use.

Comments are human checked. All spam will be removed, so don't waste your time!

Codice di sicurezza

L'estate si avvicina hai già trovato l'albergo per le vacanze? cerca un albergo al mare o un hotel in montagna ove trascorrere le tue vacanze.