Get FlutterFlow to read from an existing Firebase database

Database & APIs

Hello community, FF newbie here! I'm cracking my head in this. I've tried a few things without success so far.

I have a Firebase project connected to Stripe, and I'm using this setup in a separate Next.js project that allows users to sign up and pay for a subscription.

In my FlutterFlow project, I'm using the same Firebase project for user authentication. However, on the Firestore tab in FlutterFlow, it’s not fetching the existing database.

I need FlutterFlow to read the "subscription status" created by Stripe in Firebase so that it can update a text widget in the app when the user is logged in.

What have you tried so far?

I tried to create a firesore collection and basically use the same path from firebase, but I got nothing.

I also tried to make a custom action, where I grab the path directly, but flutterflow returns null. On the console, I can see the user ID, but I cannot see the sub-collections Stripe created.

Attached the custom action code. Any ideas?

Did you check FlutterFlow's Documentation for this topic?
Yes