2019-09-11 05:24:25 -04:00
|
|
|
# Discourse Patrons
|
|
|
|
|
|
|
|
[![Build Status](https://travis-ci.org/rimian/discourse-patrons.svg?branch=master)](https://travis-ci.org/rimian/discourse-patrons)
|
|
|
|
|
|
|
|
Accept payments from visitors to your [Discourse](https://www.discourse.org/) application. Integrates with [Stripe](https://stripe.com).
|
|
|
|
|
2019-09-12 01:13:08 -04:00
|
|
|
This is a newer version of https://github.com/rimian/discourse-donations.
|
2019-09-11 05:24:25 -04:00
|
|
|
|
|
|
|
## 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.
|
|
|
|
|
2019-09-11 23:13:06 -04:00
|
|
|
## Usage
|
|
|
|
|
|
|
|
Enable the plugin and enter your Stripe API keys in the settings. You can also configure amounts and the default currency.
|
|
|
|
|
|
|
|
Visit `/patrons`
|
|
|
|
|
2019-09-11 05:24:25 -04:00
|
|
|
## Testing
|
|
|
|
|
2019-09-11 23:40:18 -04:00
|
|
|
Test with these credit card numbers:
|
|
|
|
|
|
|
|
* 4111 1111 1111 1111
|
|
|
|
|
2019-09-11 05:24:25 -04:00
|
|
|
## Warranty
|
|
|
|
|
|
|
|
This software comes without warranties or conditions of any kind.
|
2019-09-12 01:13:08 -04:00
|
|
|
|
|
|
|
## Credits
|
|
|
|
|
|
|
|
Many thanks to Chris Beach and Angus McLeod who helped on the previous version of this plugin.
|
2019-09-12 03:47:08 -04:00
|
|
|
|
|
|
|
## 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
|
2019-09-12 04:51:40 -04:00
|
|
|
* Check against other themes (works ok with light and dark)
|
2019-09-12 03:47:08 -04:00
|
|
|
* Validate the model properly. Not in the stripe component
|
|
|
|
* Show the transaction on the thank you page.
|
2019-09-12 04:16:47 -04:00
|
|
|
* Work out where to put the helper tests. Name collision!
|