
- Push Notifications with React, WordPress/WooCoommerce and Firebase
-
Find what makes you, you.
Push Notifications with React, WordPress/WooCoommerce and Firebase
Hello everyone, hopefully someone here has experience with Push Notifications.
Here is my problem:
I have a WordPress/WooCommerce shop that I am using as back-end for my ReactJS PWA. I am using the WooCommerce API (https://woocommerce.github.io/woocommerce-rest-api-docs/)
In this React PWA I am just receiving the orders, updating, and deleting them.
I managed to set-up the Firebase Cloud Messaging where I am sending test notifications through the Firebase console and I am receiving them in my computer.
The problem is these notifications doesn't have any data from my back-end, I would like to link my back-end so I can be able to receive a notification whenever a new order is placed.
Is this possible? I've been searching for any solution and couldn't find anything.
Maybe changing Firebase for something else?
I would really appreciate if someone point me in the right direction.
Thanks in advance!
-