Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automate creation of the Convene pricing tier #26

Merged
merged 1 commit into from
Jun 19, 2020

Conversation

zspencer
Copy link
Member

See: #8

I was using this primarily to explore what it would look like to build
Product and Pricing setup into Compensated/Support, while also ensuring
we have a papertrail for setting up pricing for Convene.

See: #8

I was using this primarily to explore what it would look like to build
Product and Pricing setup into Compensated/Support, while also ensuring
we have a papertrail for setting up pricing for Convene.
@zspencer zspencer requested a review from a team May 31, 2020 23:10
@zspencer
Copy link
Member Author

@user512 / @cjerozal - Programmatic application of an idempotent pricing configuration feels like something that may be worth moving into the Compensated project at some point. Do you have thoughts on that?

Copy link
Contributor

@user512 user512 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am confused on what we are trying to do here and some usage example might help me better understand.
Is bin/configure-pricing intended to be ran by developer and copy the output to zinc.coop?
Can you let me know your thoughts on how compensated would fit into this?

@zspencer
Copy link
Member Author

@user512 - Yep! Keep in mind, part of Convene's business strategy is we want folks to be comfortable setting up their own "franchise" of Convene. This way someone could have an Oakland City Convene or a New Zealand Convene.

Franchisees pay Zinc for the right to use Convene within an LLC or other legal entity, while people who are willing to take on all the liability personally can use the Convene code free-of-charge to manage their own instances.

The way I think compensated could fit in with this is documented in Developer Creates Products and Prices in Stripe.

Essentially, we could help folks get started running a business by using compensated to manage their portfolio of products and prices across sales channels (Apple, Stripe, Android, etc).

Copy link
Contributor

@user512 user512 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Thanks for the context.

@user512 user512 merged commit 4de5743 into development Jun 19, 2020
@user512 user512 deleted the operations/script-pricing-configuration branch June 19, 2020 06:07
zspencer added a commit to zinc-collective/compensated that referenced this pull request Jul 12, 2020
See: #79

The compensated cli now exists, and forwards options and configuration into
commands. Commands can be defined by extending the
`Compensated::Command` class, and overriding the `execute` method.

The first command is `apply`, which creates the configured products and
prices in the Payment Processors that support it.

This is a pretty-close to direct port of the code that I wrote to
allow folks to create products and prices in Stripe.

See: zinc-collective/convene#26

Further, this gives us a `.rubocop.yml` file in the top level of the
project so that formatting can begin to become consistent across files.
zspencer added a commit to zinc-collective/compensated that referenced this pull request Jul 13, 2020
See: #79

The compensated cli now exists, and forwards options and configuration into
commands. Commands can be defined by extending the
`Compensated::Command` class, and overriding the `execute` method.

The first command is `apply`, which creates the configured products and
prices in the Payment Processors that support it.

This is a pretty-close to direct port of the code that I wrote to
allow folks to create products and prices in Stripe.

See: zinc-collective/convene#26

Further, this gives us a `.rubocop.yml` file in the top level of the
project so that formatting can begin to become consistent across files.
user512 pushed a commit to zinc-collective/compensated that referenced this pull request Jul 14, 2020
See: #79

The compensated cli now exists, and forwards options and configuration into
commands. Commands can be defined by extending the
`Compensated::Command` class, and overriding the `execute` method.

The first command is `apply`, which creates the configured products and
prices in the Payment Processors that support it.

This is a pretty-close to direct port of the code that I wrote to
allow folks to create products and prices in Stripe.

See: zinc-collective/convene#26

Further, this gives us a `.rubocop.yml` file in the top level of the
project so that formatting can begin to become consistent across files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants