A Discourse plugin that allows payments and subscription management via Stripe.
Go to file
Rimian Perkins e73505995a run the plugin specs only 2017-02-15 10:59:58 +11:00
app a child page at user/:username/choice 2017-02-10 15:10:47 +11:00
assets/javascripts/discourse refactor route map 2017-02-14 10:45:01 +11:00
config change routes 2017-02-14 10:28:07 +11:00
lib merge in staging 2017-02-14 13:39:14 +11:00
spec/controllers/choice basic test that runs in discourse 2017-02-14 13:54:25 +11:00
test/javascripts/acceptance check payment link exists 2017-02-14 10:19:59 +11:00
.gitignore ingore byebug 2017-02-06 12:29:24 +11:00
.ruby-version add ruby version 2017-02-03 12:33:59 +11:00
.travis.yml run the plugin specs only 2017-02-15 10:59:58 +11:00
LICENSE Initial commit 2017-01-30 10:52:35 +11:00
README.md document plugin specs 2017-02-15 10:59:04 +11:00
jsapp acceptacnce test verifies page renders 2017-02-13 11:35:59 +11:00
plugin.rb merge in staging 2017-02-14 13:39:14 +11:00

README.md

Discourse Payments

Build Status

Enables stripe payments from discourse.

Configuration

You can either set your environment vars in docker or save them in a yaml.

In your app.yml

STRIPE_SECRET_KEY: 'my_secret_key'
STRIPE_PUBLISHABLE_KEY: 'my_publishable_key'

Testing

To run the specs, install the plugin and run bundle exec rake plugin:spec[discourse-payments] in the discourse root directory.

If you're using a zsh shell, then you probably get this error: zsh: no matches found ... and you'll need to escape the square brackets with backslashes.

Run the local js acceptance tests here:

http://localhost:3000/qunit?module=Acceptance%3A%20Discourse%20Payments