prestashop-pod-sso
For displaying pod login button add <code>{hook h="displayPodLogin"}</code> hook where you want, in the .tpl file in theme.
Installation
If you download the module from github, first unzip it then rename <code>prestashop-pod-sso-master</code> to <code>podsso</code> and compress it as a zip format. Then use prestashop module installer for uploading the module to your server.
Styling
You can use <code>pod-sso-a</code> class for styling hyperlink and <code>pod-sso-img</code> for styling pod logo or if you want to change it completely edit hookDisplayPodLogin method in podsso.php file
Configuration
After installation, a configuration page will be opened, if not, you can open configuration page from modules page in admin area, then you must fill in the form with appropriate values. Client Id, Client Secret, API token and Guild Code, can be obtained from your business panel and Oauth server, Pay url are filled with production server by default. if you want to change to sandbox server you can use sandbox links from pod documentation
Troubleshooting
If pod button does not appear where you put it in your template try clearing cache from Advanced Paramaeters -> Performance in admin menu and also check its position from Modules and services -> positions to be <code>displayLogin</code> if you face error page with 500 code for seeing more detail go to config/defines.inc.php and set '_PS_MODE_DEV' and contact module author.
Redirect URI
For setting redirect uri in pod bussiness panel user this structure: <code>[your-domain]/[language-code]/module/podsso/handler</code>
Comentarios (0)
Su agradecimiento a la reseña no pudo ser enviado
Reportar comentario
Reporte enviado
Su reporte no pudo ser enviado