Div in prestashop checkout page not returning any data

After installing the module for Prestashop, 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,

Best Answer


  • edited June 2017

    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?

  • Hi Claude,
    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!!
  • Hi 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?

  • Hi Claude,
    Actually I do:
    jquery-1.11.0.min.js:4: POST https://my.url/modules/oneallsociallogin/assets/ajax/admin.php 404 Not Found
  • The div I have implemented is:

    in my personal-information.tpl. It sows up correctly, opens facebook, login and then redirects back, but none of the information returns.
  • edited July 2017
    < div id="oneall_social_login" style="padding-top: 20px;" >< / div >
  • Without the spaces
  • edited July 2017
    Hi Phoebe,

    adding the div will not work.

    You need to add the following code to embed the icons:

    More information is available here:
  • Hi Claude,
    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:
  • Could you post a link to your shop please?
  • Hello,

    I have been able to login with Facebook here:

    This also created a new account for me.

    Could you give me a direct link to the page where it does not work?
  • Hi, you need to add something to cart, and then at the cart page: https://poopoo.rocks/en/order you can see the piece of code which is not working.

  • Hello,

    I have been able to reproduce the error.

    Please replace this:

    by this:
    {$HOOK_OASL_CUSTOM nofilter}

    In your template.

  • Hi Claude, now I can see the buttons, click on them, but when redirecting back, it doesnt fill in any data. So we are back to the starting point..

  • Thank you Claude, the new version works!!
    Thank your for your persistence.
Sign In or Register to comment.