WPW to Firebase keeps a Firebase Realtime Database in step with your WordPress site. Use it to power a mobile app, a dashboard, or any service that reads from Firebase, without writing your own export code.
What it syncs
You choose which of these to sync. Products are on by default. Users and orders contain personal data, so they stay off until you turn them on.
How it works
Data structure
Records are written under the path you choose (default wordpress), with keys prefixed by type:
wordpress/products/product_42
wordpress/orders/order_1057
wordpress/users/user_7
This plugin connects to two Google services to write your data to Firebase. Nothing is sent until you add a database URL and a service account key and enable at least one type of data.
Google OAuth 2.0 token service (https://oauth2.googleapis.com/token)
Used to exchange your service account credentials for a short-lived access token. The plugin sends a request signed with your service account’s private key, containing the service account email and the requested permissions. This happens when a sync runs and no valid token is cached, at most about once an hour.
Firebase Realtime Database (your database URL, ending in firebaseio.com or firebasedatabase.app)
Receives the data you choose to sync: product details, order details including customer names, email addresses, phone numbers, and billing and shipping addresses, and user details including email addresses, names, and roles. Data is sent during a full sync, on your chosen schedule, and a few seconds after an item changes if live updates are on.
Both services are provided by Google.
Firebase terms of service: https://firebase.google.com/terms
Google Cloud terms of service: https://cloud.google.com/terms
Google privacy policy: https://policies.google.com/privacy