discourse-subscriptions/README.md

45 lines
1.5 KiB
Markdown
Raw Normal View History

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.
2019-10-09 22:52:55 -04:00
## Creating Subscription Plans
2019-09-11 23:13:06 -04:00
2019-10-09 22:52:55 -04:00
When users subscribe to your Discourse application, they are added to a user group. You can create new user groups or use existing ones. Of course, you should be careful what permissions you apply to the user group.
2019-09-11 23:13:06 -04:00
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
2019-09-12 19:00:57 -04:00
Many thanks to Chris Beach and Angus McLeod who helped on the [previous version](https://github.com/chrisbeach/discourse-donations) 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
2019-09-12 05:04:10 -04:00
* Confirm dialog CSS isn't the best.
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!