documentation

This commit is contained in:
Rimian Perkins 2019-11-19 09:59:15 +11:00 committed by GitHub
parent 9626a4fbfa
commit 00d94253f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

View File

@ -20,6 +20,16 @@ A Product describes what the user gets when they subscribe. It has a name and de
A Plan is how you charge your users for the Product. Plans have rates, billing intervals and trial periods. A Product may have multiple Plans. For example: a yearly and a monthly Plan. You can't change plans much once they are created but you can archive them and create new ones.
Together, Products and Plans make up subscriptions.
## How to set up your Discourse app for subscriptions.
### Set up your payment gateway.
Firstly, you'll need an account with the [Stripe](https://stripe.com) payment gateway. This is how you take your payments. When you get a moment, take a look at Stripe's documentation. But for now, you can set up an account in test mode and see how it all works without making any real transactions. Then, if you're happy with how everything works, you can start taking real transactions. See below for test credit card numbers.
### Set up your user groups in Discourse
## Testing
Test with these credit card numbers: