Cucumber Ltd / cucumber-pro

Metered saas billingfeatures/billing/metered_saas_billing.feature

Release Dasher II (patch 1) (2018-12-13)

Romain Gérard

Currently viewing

Feature: Metered SaaS billing

We envisage different types of licenses. The metered SaaS is the first one we are going to use. People will be charged a monthly fee based on the number of people collaborating on private projects under the license.

Rules:

  • Members are only billable if they have joined a private project (on the SaaS)

Deferred:

  • People doing only license administration and not project collaboration are not billable

Questions:

  • Is this pro-rata? What about people joining/leaving during a billing period?
  • Can people "game" the billing algorithm? I.e. can people remove all collaborators on a given date (when the fee is calculated) and add them back after? Is that ok?

Background:

  • Given the app is running on the SaaS

Scenario: two project collaborators

  • When Jo registers with a metered SaaS license:
    NameZappas
    Fee per user10
    Expiry datein 30 days
  • And Jo creates the following projects:
    NamePrivateLicense
    alpha-projectYesZappas
  • And Lucy accepts an invitation from Jo to collaborate on alpha-project
  • Then Jo should be a billable member of the Zappas license
  • And Jo should be told the payment of 20 is due for the Zappas license
  • And Lucy should be a billable member of the Zappas license

Scenario: public project collaborator

  • When Jo registers with a metered SaaS license:
    NameTomato
    Fee per user10
    Expiry datein 30 days
  • And Jo creates the following projects:
    NamePrivateLicense
    tomato-oss-projectNoTomato
    tomato-pro-projectYesTomato
  • And Adam accepts an invitation from Jo to collaborate on tomato-oss-project
  • Then Adam should be a free member of the Tomato license
  • And Jo should be a billable member of the Tomato license
  • And Jo should be told the payment of 10 is due for the Tomato license