A Discourse plugin that allows payments and subscription management via Stripe.
Go to file
Justin DiRose 072b558d40
FEATURE: Give option to repurchase products multiple times (#46)
Feature requested here: https://meta.discourse.org/t/subscriptions-allow-users-to-purchase-one-time-products-multiple-times/173732/

There may be cases where a site admin wants to allow the repurchasing of a product. This implements the functionality by adding a repurchaseable toggle in the admin screen when creating a product. This saves an attribute to the Stripe product metadata.

When a user has already purchased an item with this toggle enabled, they will be able to purchase it again when browsing to `/s`.
2021-01-31 14:17:44 -06:00
.github/workflows DEV: Update CI workflows (#36) 2021-01-05 01:08:58 +01:00
app FEATURE: Give option to repurchase products multiple times (#46) 2021-01-31 14:17:44 -06:00
assets FEATURE: Give option to repurchase products multiple times (#46) 2021-01-31 14:17:44 -06:00
config FEATURE: Give option to repurchase products multiple times (#46) 2021-01-31 14:17: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: Give option to repurchase products multiple times (#46) 2021-01-31 14:17: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: prettier 2.2.1 (#48) 2021-01-27 10:38:33 +01:00
plugin.rb FEATURE: Allow creation of coupons in admin panel (#43) 2021-01-13 11:47:22 -06:00
translator.yml DEV: Switch from Transifex to Crowdin 2020-07-16 14:01:25 +02:00
yarn.lock DEV: prettier 2.2.1 (#48) 2021-01-27 10:38:33 +01: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