A Discourse plugin that allows payments and subscription management via Stripe.
Go to file
Justin DiRose da9b58398b
FEATURE: Support for coupons in checkout (#41)
This adds support for Stripe Promo Codes in the user checkout process. 

Also adds a discounted field to User > Billing > Subscriptions to show the amount or percent discounted.

This does not currently add in support for creating promo codes in the Subscriptions interface (that will come at a later point in time). Instead a coupon can be created with a promo code right from the Stripe dashboard.
2021-01-07 15:25:44 -06:00
.github/workflows DEV: Update CI workflows (#36) 2021-01-05 01:08:58 +01:00
app FEATURE: Support for coupons in checkout (#41) 2021-01-07 15:25:44 -06:00
assets FEATURE: Support for coupons in checkout (#41) 2021-01-07 15:25:44 -06:00
config FEATURE: Support for coupons in checkout (#41) 2021-01-07 15:25:44 -06: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 FEATURE: Support for coupons in checkout (#41) 2021-01-07 15:25:44 -06:00
test/javascripts REFACTOR: Use the new format for acceptance tests. (#37) 2021-01-04 16:32:33 -03:00
.eslintrc DEV: CI Updates (#30) 2020-11-02 11:57:36 -06:00
.gitignore DEV: CI Updates (#30) 2020-11-02 11:57:36 -06:00
.prettierrc DEV: CI Updates (#30) 2020-11-02 11:57:36 -06:00
.rubocop.yml DEV: Ignore foreign key migration in rubocop 2020-10-20 11:27:32 -05:00
.template-lintrc.js DEV: CI Updates (#30) 2020-11-02 11:57:36 -06:00
Gemfile DEV: Fix gemfile 2020-09-01 20:33:29 -05:00
Gemfile.lock FIX: Loading state persists after bad card entered (#22) 2020-10-19 20:54:30 -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
package.json DEV: CI Updates (#30) 2020-11-02 11:57:36 -06:00
plugin.rb DEV: Bump Stripe API gem to 5.29.0 (#38) 2021-01-06 13:36:50 -06:00
translator.yml DEV: Switch from Transifex to Crowdin 2020-07-16 14:01:25 +02:00
yarn.lock DEV: CI Updates (#30) 2020-11-02 11:57:36 -06: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