Firebase WooCommerce Integration



Integrating Firebase with WooCommerce gives the ability to enable user login to the WooCommerce site using Firebase credentials. If you want users to log in to your WooCommerce site using their Firebase credentials, you can simply do it using our Firebase Authentication plugin. Once you configure the Firebase WooCommerce integration with Firebase Authentication plugin, you can enable an option to ‘Auto Create Users into Firebase’ when registered on WooCommerce. Also, users can reset their password from the WooCommerce dashboard.

To setup WordPress Firebase Authentication Plugin you can Click Here.



You can download WordPress Firebase Authentication plugin using the following link.

Use cases for Firebase WooCommerce Integration:

USE CASE 1:  Login into WooCommerce site using Firebase credentials:

    Suppose you have android and IOS mobile applications and a WooCommerce website. The mobile app sign in process is using Firebase, but your e-commerce website is based on Wordpress credentials, thus you can use Firebase Authentication plugin to synchronise the login process. Using the plugin, you can allow your mobile app users to login into your WooCommerce site using Firebase credenatials. Also, whenever a user login for the first time, that user is auto-created into the site.

    firebase woocommerce integration login using firebase credentials
    • Go to the Advanced Settings tab and enable the checkbox of WooCommerce option and click on Save Settings.

    • firebase woocommerce integration allow woocommerce
    • Now to test the Firebase login, visit your site in a private window and go to My account page of your WooCommerce site and login with the credentials of the user you already have in your Firebase Project.
    • Go to the Users tab in your firebase project.

    • firebase woocommerce integration users info
    • Enter the username and password of the Firebase user in the login section.

    • firebase woocommerce integration login page
    • The user will be logged in to your woocommerce site and that user will be auto created into the WordPress site.

    • firebase woocommerce integration dashboard
    • In case of forgot password, click on the link Lost your password on My account page.

    • firebase woocommerce integration reset password
    • Enter your email Id in the given field and click on RESET PASSWORD.

    • firebase woocommerce integration reset lost password
    • Now you will get an email with a password reset link. Following window will open when you click on the password reset link.
    • Enter your new password and click on SAVE.

    • firebase woocommerce integration reset password page
    • This will reset the password on Firebase side and you can now login to WooCommerce with your email and this new password.

Usecase 1 'Login into WooCommerce site using Firebase credentials' can be covered with our Premium plan


USE CASE 2 :  Auto Sync Users to Firebase and WordPress:

    You have your WooCommerce website and wanted to give an signup option to your users via WooCommerce registration page and you also have built in a mobile application where you have provided an option to login via Firebase. Then you can enable the ‘Auto Register Users into Firebase’ option from plugin and users are auto created into the Firebase as well as your WooCommerce site whenever they register into your site. You can also give an option on your website to reset the password. So that password is updated at Firebase and users can use the new password to login into your website and mobile application.

    firebase woocommerce integration auto sync users to firebase
    • Enable the Auto register users into Firebase and click on Save Settings.

    • firebase woocommerce integration enable auto register user
    • Then go to the WooCommerce registration page and create a user as shown in image below.

    • firebase woocommerce integration registration page
    • This user will be auto created into the Firebase Project.

    • firebase woocommerce integration verify auto created user
    • In the Plugin, enable the Auto register users into Firebase and the checkbox of WooCommerce option and click on Save Settings.
    • Now go to the WooCommerce Settings page. In the tab Accounts & Privacy, enable the required settings.
    • It includes the options to allow users to create an account on the My Account and Checkout page.
    • Also, disable the option to auto generate the password while registering, so that the user can enter his password and it can be stored in the firebase project.

    • firebase woocommerce integration verify auto created user
    • Now, when the user is created at the WooCommerce checkout page, he will be auto created in the Firebase Project.

    • firebase woocommerce integration verify auto created user

Usecase 2 'Auto Sync Users to Firebase and WordPress' can be covered with our Premium plan


USE CASE 3 :  Social login with Google, Facebook on WooCommerce My Account login page:

    For your WooCommerce site, if you want to allow end-users to Login using social providers like Google, Facebook, Twitter, Apple, Github, Yahoo, Microsoft using Firebase, you can add social login buttons on your My account page for that. We provide a shortcode in the plugin for that.

    firebase woocommerce integration social login on woocommerce
    • Go to the Advanced Settings tab and select the checkboxes for Social Login providers to give a login option to your end users and click on Save Settings.
    • If you want to show the buttons on the WordPress default login page, you can check the checkbox Show Login button on WP Login Page.

    • firebase woocommerce integration show login button
    • Use the shortcode [mo_firebase_auth_login] to add social login buttons on the WooCommerce my account page.

    • firebase woocommerce integration insert shortcode
    • You can see the different social login buttons added on the WooCommerce my account page as below.

    • firebase woocommerce integration social login buttons
    • If you have selected the option to show Show Login button on WP Login Page, You can see the different social login buttons added on the WordPress default login form as below.

    • firebase woocommerce integration WP social login buttons

Usecase 3 'Social login with Google, Facebook on WooCommerce My Account login page' can be covered with our Enterprise plan


USE CASE 4 :  Phone no verification via Firebase OTP on WooCommerce Checkout page:

    You have a mobile application with Firebase Phone verification sign-in and you want to integrate your wooCommerce website with Firebase OTP verification so that your customers will have to verify their phone numbers when they create an account while purchasing the product at the checkout.

    firebase woocommerce integration phone number verification firebase otp

Usecase 4 'Phone no verification via Firebase OTP on WooCommerce Checkout page' can be customized according to the customer needs


USE CASE 5 :  Uploading WooCommerce data to Firestore:

    If you have to manage your all products data at Firestore, plugin will provide an option to send the WooCommerce product data to Firebase whenever a new product is created on your wooCommerce website.

    firebase woocommerce integration upload woocommerce data to firebase

Usecase 5 'Uploading WooCommerce data to Firestore' can be customized according to the customer needs


USE CASE 6 :  Authenticate WordPress REST APIs with Firebase JWT token:

    You have to protect your WordPress APIs using JWT authentication, and you want to make authenticated API calls using the Firebase token after the user has logged in. Using the plugin, you can fetch the Firebase token of a logged in user and then that token can be used to make API calls. You can also store Firebase user id from the token against that user's order meta data.


Usecase 6 'Authenticate WordPress REST APIs with Firebase JWT token' can be customized according to the customer needs


Need Help?

Mail us on oauthsupport@xecurify.com for quick guidance(via email/meeting) on your requirement and our team will help you to select the best suitable solution/plan as per your requirement.

Hello there!

Need Help? We are right here!

support
Contact miniOrange Support
success

Thanks for your inquiry.

If you dont hear from us within 24 hours, please feel free to send a follow up email to info@xecurify.com