Skip to content
This repository has been archived by the owner on Jan 2, 2024. It is now read-only.

cmd/tier: accept -checkout on subscribe #215

Merged
merged 6 commits into from
Jan 21, 2023
Merged

cmd/tier: accept -checkout on subscribe #215

merged 6 commits into from
Jan 21, 2023

Conversation

bmizerany
Copy link
Contributor

@bmizerany bmizerany commented Jan 11, 2023

This commit adds Tier flare to Stripe's Checkout features. Unlike using
Stripe Checkout directly, Tier will suppress duplicate subscriptions,
and allow clients to address Customers and Prices using Tier Org and
Plan/Feature names, respectively, which allow clients to "bring your
own" IDs.

This commit also adds a new --checkout flag to the subscribe command,
generating a Stripe Checkout link via the Tier API. It also
adds an optional --cancel_url flag for specifying the URL to
send the user if they back out of the checkout session.

@bmizerany bmizerany changed the title checkout cmd/tier: accept -checkout on subscribe Jan 11, 2023
@bmizerany bmizerany force-pushed the checkout branch 2 times, most recently from 96ad0e0 to 608dcf7 Compare January 17, 2023 21:55
@bmizerany bmizerany force-pushed the checkout branch 7 times, most recently from 7e17043 to 0e0025d Compare January 20, 2023 01:04
This commit adds Tier flare to Stripe's Checkout features. Unlike using
Stripe Checkout directly, Tier will suppress duplicate subscriptions,
and allows clients to address Customer and Prices using Tier Org and
Plan/Feature names respectively, which are allow clients to "bring your
own" IDs.

This commit also adds a new -checkout flag to the subscribe command,
which will generate a Stripe Checkout link via the Tier API. It also
adds an optional --cancel_url flag for specifying the URL for where to
send the user in the event they back out of the checkout session.
@bmizerany bmizerany marked this pull request as ready for review January 21, 2023 01:28
[skip CI]
@bmizerany bmizerany merged commit 6e72ddf into main Jan 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants