I'm creating a lecture recording app that makes it easier for students to share and learn together from a recorded lecture. This app stores mp3 and png files on Firebase storge. Each user will have 100MB of storage for free (this is around 4-8 lecture that they can record). The problem is that users may need more memory and I cant afford it pay all from ads, therefore I want to add a monthly charge for those users who need more memory.
Now I'm not sure or have any experience in any money transaction by code. Can anyone give me an idea or what I can do to solve this problem?
P.S. I was also thinking of using Google Drive API to allow the user to save their recorded lecture on their own cloud, but I'm not sure if that will give me as much functionality as firebase storage.