Hi!
After installing the module for Prestashop 1.7.1.1, I have implemented the div in the checkout page tpl file, it is correctly visible but doesnt return anything after the client clicks and connects. It simply lets the client log in to for example facebook, and returns to the same checkout page without returning any value.
Any solution?
Many thanks,
Phoebe
Answers
could you please open the Social Login settings in your Prestashop admin area and click on the Autodetect and Verify buttons?
Do both tests give a green success message?
Regards,
When I click autodetect the best api setting, it says Contacting API - please wait ... FOREVER.
But the buttons on other pages (for say Login/Register) work fine, just not the < div > I have implemented in code for the checkout page.
Any ideas?
Many thanks!!
Phoebe
do you have any JavaScript errors in your browser's console when clicking on "Autodetect" or "Verify" ?
What exactly have you added to your checkout page?
Regards,
Actually I do:
jquery-1.11.0.min.js:4: POST https://my.url/modules/oneallsociallogin/assets/ajax/admin.php 404 Not Found
in my personal-information.tpl. It sows up correctly, opens facebook, login and then redirects back, but none of the information returns.
adding the div will not work.
You need to add the following code to embed the icons:
{$HOOK_OASL_CUSTOM}
More information is available here:
http://docs.oneall.com/plugins/guide/social-login-prestashop/#4a
Now it just shows the code:
<div class="oneall_social_login_providers oneall_social_login_providers_custom" id="oneall_social_login_providers_XXX"></div> <script type="text/javascript"> var _oneall = _oneall || []; _oneall.push(['social_login', 'set_providers', providers]); _oneall.push(['social_login', 'set_callback_uri', window.location.href]); _oneall.push(['social_login', 'set_custom_css_uri', '']); _oneall.push(['social_login', 'do_render_ui', 'oneall_social_login_providers_XXX']); </script>
instead of the result. I added the piece of code you said to the .tpl file:
{$HOOK_OASL_CUSTOM}
Phoebe
I have been able to login with Facebook here:
https://poopoo.rocks/en/login
This also created a new account for me.
Could you give me a direct link to the page where it does not work?
Thanks!
I have been able to reproduce the error.
Please replace this:
{$HOOK_OASL_CUSTOM}
by this:
{$HOOK_OASL_CUSTOM nofilter}
In your template.
Phoebe
Thank your for your persistence.
Phoebe
THANK YOU @Claude_Schlesser - YOUR SOLUTION WORKED FOR ME ON 1.7.5 VERSION.
I replace this:
{$HOOK_OASL_CUSTOM}
by this:
{$HOOK_OASL_CUSTOM nofilter}
AND IT WORKED
see attached img
https://drive.google.com/file/d/13LZjcILrvbnA4tW0hMBYOA15CnxJoeoA/view?usp=sharing
Thank you for the update!
We have now changed our documentation accordingly:
http://docs.oneall.com/plugins/guide/social-login-prestashop/#4a
Best Regards,