A Discourse plugin that allows payments and subscription management via Stripe.
Go to file
Justin DiRose c9ff55b46a
REFACTOR: Use the Prices API in place of Plans (#17)
Stripe has a newer API called Prices where you can create a price for any product and it can either be recurring or one-time. The easy part is existing Plans work with the Prices API by passing a Plan ID, but objects are returned in the slightly-different Prices API object format.

This commit is a refactor to the new API to handle the data in its new form, and lays the foundation for a one time payment plan to be added to any subscriptions product.
2020-07-15 08:44:40 -05:00
.tx DEV: Add translations support 2020-07-03 11:17:13 -05:00
app REFACTOR: Use the Prices API in place of Plans (#17) 2020-07-15 08:44:40 -05:00
assets REFACTOR: Use the Prices API in place of Plans (#17) 2020-07-15 08:44:40 -05:00
bin REFACTOR: Use the Prices API in place of Plans (#17) 2020-07-15 08:44:40 -05:00
config REFACTOR: Use engine to load files, add constraint (#14) 2020-07-06 11:11:04 -05:00
db/migrate REFACTOR: Use models to store data (#11) 2020-05-22 11:20:05 -05:00
lib REFACTOR: Use the Prices API in place of Plans (#17) 2020-07-15 08:44:40 -05:00
spec REFACTOR: Use the Prices API in place of Plans (#17) 2020-07-15 08:44:40 -05:00
test/javascripts REFACTOR: Use the Prices API in place of Plans (#17) 2020-07-15 08:44:40 -05:00
.eslintrc appease eslint 2019-08-27 20:18:02 +10:00
.gitignore update .gitignore 2017-10-08 23:18:22 +01:00
.ruby-version upgrade ruby 2019-08-25 11:51:06 +10:00
.travis.yml enable discourse-plugin-ci 2019-08-27 19:52:25 +10:00
Gemfile REFACTOR: Use the Prices API in place of Plans (#17) 2020-07-15 08:44:40 -05:00
LICENSE Initial commit 2017-01-30 10:52:35 +11:00
README.md REFACTOR: Use models to store data (#11) 2020-05-22 11:20:05 -05:00
jsapp add success handler 2019-09-12 07:43:27 +10:00
plugin.rb REFACTOR: Use the Prices API in place of Plans (#17) 2020-07-15 08:44:40 -05:00

README.md

Discourse Subscriptions

Please see the topic on Discourse Meta for more information about this plugin: https://meta.discourse.org/t/discourse-subscriptions-plugin/140818