This is a historical explainer written for this unofficial archive. Relish has closed, so nothing here describes a service you can still sign up for or use.
What the billing pages covered
Relish published public projects for free and offered paid plans for private projects. The billing area of the service let account and organisation owners choose a plan, manage payment details and see what they were subscribed to. This archive does not reproduce the old plan details, and nothing here should be read as a price or an offer. The service has closed, so there are no subscriptions, invoices or payments of any kind.
If you were a customer
This site is an independent archive with no access to the old service's account or billing records. It cannot answer questions about past charges.
Specifying billing behaviour in your own product
Billing is one of the areas where executable specifications pay off most, because the rules are precise and mistakes cost real money. Useful scenarios focus on state changes rather than payment provider details.
Feature: Downgrading a plan
Background:
Given the organisation "acme" is on a plan that allows 5 private projects
And "acme" has 5 private projects
Scenario: Downgrading below current usage is blocked
When an owner of "acme" tries to switch to a plan that allows 2 private projects
Then they see "Make 3 projects public or delete them before downgrading"
And "acme" remains on its current plan
Scenario: Only owners can change the plan
Given "kim" is a member but not an owner of "acme"
When "kim" opens the billing settings for "acme"
Then "kim" sees "Only owners can manage billing"
Pitfalls
- Hitting a real payment provider. Use the provider's test mode or a fake gateway in step definitions.
- Prices in scenarios. Refer to plans by their limits or by a test fixture name, so a price change does not break the suite.
- Ignoring the end of a period. Specify what happens at renewal and on cancellation, not only at sign up.