A Discourse plugin that allows payments and subscription management via Stripe.
Go to file
Rimian Perkins 9cfdd3f07e This always catches me. Pretty quotes! 2019-09-12 18:18:50 +10:00
app/controllers convert amount in param 2019-09-12 11:49:52 +10:00
assets This always catches me. Pretty quotes! 2019-09-12 18:18:50 +10:00
config currency format helper 2019-09-12 18:16:47 +10:00
lib/discourse_patrons controller spec runs 2019-09-11 18:32:09 +10:00
spec readme some 2019-09-12 13:13:06 +10:00
test/javascripts/components Fix broken test and form wrap 2019-09-12 15:52:30 +10: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
LICENSE Initial commit 2017-01-30 10:52:35 +11:00
README.md currency format helper 2019-09-12 18:16:47 +10:00
jsapp add success handler 2019-09-12 07:43:27 +10:00
plugin.rb add specs back. fix plugin name 2019-09-12 09:25:06 +10:00

README.md

Discourse Patrons

Build Status

Accept payments from visitors to your Discourse application. Integrates with Stripe.

This is a newer version of https://github.com/rimian/discourse-donations.

Installation

  • Be sure your site is enforcing https.
  • Follow the install instructions here: https://meta.discourse.org/t/install-a-plugin/19157
  • Add your Stripe public and private keys in settings and set the currency to your local value.
  • Enable the plugin and wait for people to donate money.

Usage

Enable the plugin and enter your Stripe API keys in the settings. You can also configure amounts and the default currency.

Visit /patrons

Testing

Test with these credit card numbers:

  • 4111 1111 1111 1111

Warranty

This software comes without warranties or conditions of any kind.

Credits

Many thanks to Chris Beach and Angus McLeod who helped on the previous version of this plugin.

Known issues

  • CSS is mucked up in Safari and probably Firefox too.
  • The phone number isn't sent to Stripe

TODOs

  • Add a description/message
  • Format the currency
  • Check against other themes
  • Add billing info to confirm dialog
  • Confirm dialog heading
  • Validate the model properly. Not in the stripe component
  • Show the transaction on the thank you page.
  • Work out where to put the helper tests. Name collision!