Tier v0.6.2

Jevon MacDonald
Dec 8, 2022
2 min read

You can find Tier v0.6.2 here.

This update introduces the ability to enter prices in decimal form as well as the ability to switch between test accounts using the canonical URL for the test account.

Fractional Prices

The smallest whole unit for a price is 1 cent. Prices can now be represented in fractions of cents.

For example, the following feature in pricing.json

"feature:message": {
  "tiers": [{ "upto": 10, "price": 0.1 }]
}

Will be represented in Stripe as:

Fractional Prices

Test Account Switching by URL

A few weeks ago we introduced tier switch which brings the first sandboxes to Stripe. This is useful for everything from testing new ideas in dev to enabling Stripe Preview Deploys.

With Tier v0.6.2 you can now switch to a test account by including its URL as a parameter in tier switch.

For example:

tier switch https://dashboard.stripe.com/acct_1MCUwJIR5o5wb1n4/test

Please head over to Tier Releases to check out more changes and install options. As always, brew upgrade tierrun/tap/tier works too!

If you haven't used Tier yet, these resources are a good place to get started:

  • Hello World! example - Step by step guide to adding Tier to your new or existing codebase
  • Quick Start Guide - Step by step to getting up and running with Tier.
  • Recipes - Example common pricing models and their corresponding Tier pricing.json representations.
  • CLI Reference - Documentation for the Tier command line tool.