Code Monkey home page Code Monkey logo

Comments (4)

thorsten-stripe avatar thorsten-stripe commented on June 11, 2024

@crouinicrouina thanks for outlining your use case!

Stripe checkout supports the setting of quantities, however the customer billing portal does not yet. Let me check on the status of that with the team.

Regarding managing the claims for each user/seat, I think that's outside of the scope for the extension. But you can use the customer doc to track the availability of seats as the extension always sets merge:true when modifying the customer doc.

E.g. what I'd do is create a seats subcollection on the customer doc and when an admin wants to add a new user to that collection I'd compare the amount of docs in the seats collection agains the quantity on their subscription.

One issue is that the extension automatically creates a customer doc when you sign up a new users, which wouldn't be desired in your case.

How do employee users get created? Does the administrator invite them via email?

from stripe-firebase-extensions.

rakeshgoyal avatar rakeshgoyal commented on June 11, 2024

I have an angular firebase app. I am adding a premium version where Enterprises can subscribe on a per seat basis. Is there a workaround to achieve this given the extension doesn't support it. Is there a way to do this using vanilla stripe implementation using firebase and angular?

from stripe-firebase-extensions.

thorsten-stripe avatar thorsten-stripe commented on June 11, 2024

The Stripe customer portal now allows updating of quantities which can be used to manage seats: #88 (comment)

from stripe-firebase-extensions.

Lxstr avatar Lxstr commented on June 11, 2024

For anyone interested in cloud function implementation of seats.
Any feedback would be great.

https://github.com/Lxstr/stripe-firebase-seats

from stripe-firebase-extensions.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.