Woocommerce Social Login - Troubleshooting Guide

Woocommerce Social Login - Troubleshooting Guide


Troubleshooting

Having trouble? Follow these steps to make sure everything is setup correctly before posting a support request:
  1. Check that your App / Client IDs or keys are correct
  2. Double-check that your App / Client IDs or keys are correct 
  3. Go to Settings > Permalinks and confirm you’re using anything but the default permalink structure.
  4. Not seeing social login buttons? Make sure that you’re not already logged in, or use a different browser.
  5. Using PayPal? Ensure that you’re using a Live Environment, not Sandbox.
  6. Seeing a “You do not have access to YOURSITE.com” error? Please follow these steps.
  7. Having trouble logging in with a new social account? Please see our “how login works” document, as the way administrators and customers are handled is different.
  8. Are you using the iThemes Security plugin? If so, please ensure that you’ve unchecked Filter Long URL Strings in iThemes Security settings. Facebook login will not work with the setting enabled.
  9. Are you seeing a “Can’t Load URL: The domain of this URL isn’t included in the app’s domains” error when logging in with the Facebook provider? Double-check that “Force SSL for all providers” is enabled under WooCommerce > Settings > Social Login and that the “App domains” setting in the Facebook app is properly set up.
  10. Submit a support ticket so we can troubleshoot further.

Frequently Asked Questions

Q: Does Social Login support Instagram?
A: No, Instagram does not support social login as of June 2020, when the Instagram API that we use to support login was fully deprecated.
Unfortunately, the new API does not support login, so we won’t be able to support Instagram login going forward.

Q: Will you add XYZ Network?
A: We’ve covered over 95% of social sign-ins with the current providers (recent reports here). However, if we need to add more social networks, we plan to add them based on votes – you can vote for what gets added here. We don’t have a schedule posted for this, but the number of votes will determine what gets added and when.

Q: Why aren’t my social login buttons displayed? I have them set for XYZ pages.
A: Because you’re probably already logged in  Try this in a different browser or incognito window and you’ll see login options.

Q: Can I use this plugin with Sensei?
A: If you use Sensei, you’re in luck! When Sensei is active and Social Login is enabled, the social login buttons will show up on the Sensei login for automatically  You don’t have to set up a single thing!

Q: I don’t like using the social login buttons in the login notice. Can I change this?
A: Yep! Please use the “Checkout Notice” option instead of “Checkout”, or you can display the social login buttons using the buttons shortcode on your checkout page. Edit the checkout page, and add the shortcode above the checkout shortcode (replace with your store’s URL):
[woocommerce_social_login_buttons return_url="/checkout"] <hr /> [woocommerce_checkout]
Note: We recommend changing the buttons settings to “My Account” only if using the shortcode on the checkout page so that buttons are not duplicated.


Q: Why can’t I log in when I click one of the buttons? I get a 404 error.
A: Go to Settings > Permalinks and confirm you’re using anything but the default permalink structure. WooCommerce Social Login requires pretty permalinks to be used.

Q: Why do I see a “You do not have access to YOURSITE.com” error when trying to sign in for a second time? This happens with Twitter and sometimes other providers.
A: The issue is caused by your host or a plugin caching the authentication endpoint. To avoid this issue, the wc-api endpoint must be excluded from the cache: http://YOURSITE.com/wc-api/*
If you are using a caching plugin, please add the following to the exclude rule: /wc-api/*
and also exclude the wc-api query argument.
Finally, ensure your site does not have wp_woocommerce_session* cookies cached — this should never occur, but we’ve seen some hosts do this, which affects the ability to log in.
We have written a sample support ticket you can send to your host to make things really easy for you:
Hi! My site runs the WooCommerce Social Login plugin and we are having some issues with signing in with our social providers and the current caching configuration. The developers of the plugin have asked us to place a cache exception for the /wc-api/ endpoint and the wc-api query argument, along with ensuring that `wp_woocommerce_session*` cookies are not cached. Could you please add the following URL to the exception list? http://YOURSITE.com/wc-api/* and also exclude anything using the wc-api query parameter from caching as well, such as http://YOURSITE.com/?wc-api&auth=twitter? Along with this, please ensure we're excluding all session cookies using `wp_woocommerce_session*`? The session cookie caching is particularly problematic, as this is what causes the most login issues. Thanks!

Q: Can customers still log in or change account information without a social account linked or if they delete it later?
A: Yep! This plugin ties into the existing WordPress user accounts. Your new customers are still created with customer accounts, using their email (Facebook, Amazon, Google) or handle (Twitter) for the username. They could reset passwords using their email addresses to log into your site normally.
In the case of users that have created an account with Twitter, you could add their email to their accounts manually, or ask them to do so from the “My Account” page. We do prompt users to enter an email when logging in with these services, but they don’t always do so.

Q: Why doesn’t Login with Amazon work?
A: You must have an SSL certificate for your site and ensure it’s forced on the Checkout and My Account pages for customers to be able to use this service (this is required by Amazon). You can enable this under the Checkout Settings or confirm it’s being forced with your hosting provider.

Q: Does Social Login give the linked social networks access to all of the account information for that user on our website?
A: No, there’s very little information that’s sent back to the social network during the initial login and after that there’s no information exchanged until the user logs in again. The only data that’s passed back and forth is login information – nothing on orders, site activity, etc. See below for what information is pulled from each network.

Q: What happens to a customer’s account and order history if the plugin is deactivated / deleted?
A: Once a user logs in with a social network, a WordPress account is created for the user using his/her email address as the username and a random password. If you were to uninstall the plugin, a user can always use the “lost password” feature to create a new password and log into their account normally, rather than with their social network.
The exception to this is Twitter, which does not make the user email available. The admin would have to search for the Twitter handle, which is used as the username, to reset the password for the customer. We ask customers to enter an email when using Twitter to avoid this, but some do not do so.

Q: Does WooCommerce Social Login use tokens or other trackers on the shop websites that can give more information to the social network than just the account users’ activities?
A: No, there are no scripts or trackers active by the social network providers. The information exchanged is for login credentials only. The social provider may track when the customer uses its credentials to log into your site to show the customer the last login date/time in their social account, but no other information is sent or gathered.

Q: I want the “My Social Profiles” section of the My Account page to be above other sections. Is this possible?
A: There’s no setting for this, but it’s definitely possible to move this section on the My Account page! Here’s a code snippet that would show the “My Social Profiles” section first in the account area.

Q: Why does unlinked / relinking Twitter result in a duplicate account?
A: Twitter doesn’t return an email address when the user logs in, so their WordPress account isn’t tied to an email (just a username). While we can reasonably assume an email gives us a unique person, we can’t make that assumption about a username, as the user can just enter whatever they want for a username. We create a new account for security to ensure we don’t link two different people’s accounts.
We have more details in this document.

Q: I don’t want the plugin to create usernames from the user’s email. How do I change this?
A: We have a filter that will let you change this. You’d use the
wc_social_login_{$provider_id}_new_user_data
filter listed in our hook reference to change the 'user_login' to something else, such as a first name, unique ID, or random string.

Q: Help, my social login buttons are not displaying! I promise I’m not logged in already.
A: This is most likely an issue with your theme (we’ve seen this happen several times already). If your theme overwrites WooCommerce templates, as many do, it may be missing the required action hooks to display the social login buttons. It would be best to contact your theme author and prod them to update their templates to be compatible with the latest version of WooCommerce and include any hooks and functions WooCommerce does.
In the mean time, you can add the login buttons to any page using our shortcode: [woocommerce_social_login_buttons return_url="http://MYSTORE.com/checkout"]

Q: Can I use this to accept payments with Amazon or PayPal?
A: No, sorry! This plugin only allows users to securely log in with an account from another site; it doesn’t function as a payment gateway and won’t pull in any payment details from a linked account.

For Developers and Designers

We do prompt the user to enter an email when signing in with Twitter to avoid this issue, but it can occur if they leave the page before adding an email to the account.

Please note that users can often decline permissions (for example, Facebook lets users opt not to share an email). The plugin cannot force these permissions. It will ask for an email if one isn’t returned by the social network as soon as the customer returns to your site, but the plugin will block login to require certain permissions, as typically this is against the terms of service for a network.

NETWORKF NAMEL NAMEUSERNAMEEMAILPHOTOPOSTCODEOTHER
FacebookN/A
Twitter*City
GoogleCity
Amazon*N/A
LinkedInN/A
PayPalN/A
Disqus*N/A
YahooN/A
VKN/A

*First and last name may not be accurate; the plugin will guess based on the returned full name.


Overview and pricing of this feature. Click here

Looking for the user guide for this feature? Click here


    • Related Articles

    • WooCommerce Social Login

      View Guide Links at the bottom of the page Installation 1 CRU CREDIT Setup (optional) 1 CRU CREDIT Ease Of Use Easy Want this feature? Request Here Purchase CREDITS Here Enable Social Login for Seamless Checkout and Account Creation Any checkout ...
    • Woocommerce Social Login - User Guide

      For pricing and how to add to your website see at the bottom of the page. Setup and Configuration Installing the plugin will allow you to set some general settings for all social buttons, then enable settings for each social network. Let’s start with ...
    • Smash Balloon Social Wall - Feature

      View Guide Links at the bottom of the page Installation 1 CRU CREDIT Setup (optional) 1 CRU CREDIT Ease Of Use Easy Want this feature? Request Here Purchase CREDITS  Here Combine all your social media channels into one single wall and maximise your ...
    • Smash Balloon Social Wall - User Guide

      For pricing and how to add to your website see at the bottom of the page. Setting up the Social Wall 1) Install and activate one or more of the Smash Balloon social media plugins - if you do not have any or only one of, please use the links below to ...
    • Smash Balloon Social Wall - Troubleshooting Guide

      Can't see any Troubleshooting Guides on this page? This means we don't have any, please raise a ticket here if you have an issue and help us build out our guides! Overview and pricing of this feature. Click here Looking for the user guide for this ...