---
title: "Comment by Stefán Örn Hrafnsson on \"Set Up Subscription Payments With Stripe using Firebase and Next.JS\" | Hashnode"
description: "Awesome post, gr8 job. but as I am going through it need to use these imports in firebaseClient.tsx to be more compatible with v9 import firebase from &#x27;fir"
url: "https://hashnode.com/posts/set-up-subscription-payments-with-stripe-using-firebase-and-nextjs/60ed3a16573c235ee63a235f/comment/61e8172d0204273bdcb11827"
---

[Discussion](https://hashnode.com/posts/set-up-subscription-payments-with-stripe-using-firebase-and-nextjs/60ed3a16573c235ee63a235f)

Comment [Set Up Subscription Payments With Stripe using Firebase and Next.JS](https://hashnode.com/posts/set-up-subscription-payments-with-stripe-using-firebase-and-nextjs/60ed3a16573c235ee63a235f)

[Stefán Örn Hrafnsson](https://hashnode.com/@StefanOrn)

[Jan 19, 2022](https://hashnode.com/posts/set-up-subscription-payments-with-stripe-using-firebase-and-nextjs/60ed3a16573c235ee63a235f/comment/61e8172d0204273bdcb11827)

Awesome post, gr8 job.

but as I am going through it need to use these imports in firebaseClient.tsx to be more compatible with v9

```
import firebase from 'firebase/compat/app';
import 'firebase/compat/auth';
import 'firebase/compat/firestore';
```
