Skip to content

Commit cdf489d

Browse files
authored
Merge pull request #332 from membermatters/docs/update-stripe
Docs/update stripe
2 parents 331e36e + 969ad96 commit cdf489d

File tree

3 files changed

+16
-6
lines changed

3 files changed

+16
-6
lines changed

docs/POST_INSTALL_STEPS.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,11 +165,22 @@ You cannot currently enable specific events, you either get "all or nothing".
165165

166166
### "Stripe Integration"
167167
* "STRIPE_PUBLISHABLE_KEY" - the publishable Stripe key.
168-
* "STRIPE_SECRET_KEY" - the secret Stripe key.
168+
* "STRIPE_SECRET_KEY" - the secret Stripe key. You should create a restricted key - see info below on what permissions you need.
169169
* "STRIPE_WEBHOOK_SECRET" - the webhook secret to authenticate webhook requests are really from Stripe.
170170
* "ENABLE_STRIPE_MEMBERSHIP_PAYMENTS" - enable the "Membership Plan" menu page on the front end so members can sign up with the Stripe billing integration. NOTE: make sure you configure these first from the "Admin Tools" > "Membership Plans" page.
171171
* "STRIPE_MEMBERBUCKS_TOPUP_OPTIONS" - the options a member can see when on the MemberBucks top up page (in cents).
172172

173+
#### Stripe Restricted Secret Key Permissions
174+
The following permissions are needed for all Member Matters payment features to work correctly.
175+
176+
* Product - Write
177+
* Prices - Write
178+
* Subscriptions - Write
179+
* Customers - Write
180+
* Setup Intents - Write
181+
* PaymentMethods - Write
182+
* Payment Intents - Write
183+
173184
### Trello Integration
174185
* "ENABLE_TRELLO_INTEGRATION" - [Deprecated]
175186
* "TRELLO_API_KEY" - [Deprecated]

memberportal/membermatters/urls.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
"""membermatters URL Configuration
2-
"""
1+
"""membermatters URL Configuration"""
32

43
import os
54
import django.db.utils

memberportal/membermatters/wsgi.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
2-
exposes the WSGI callable as a module-level variable named ``application``.
3-
For more information on this file, see
4-
https://docs.djangoproject.com/en/1.9/howto/deployment/wsgi/
2+
exposes the WSGI callable as a module-level variable named ``application``.
3+
For more information on this file, see
4+
https://docs.djangoproject.com/en/1.9/howto/deployment/wsgi/
55
"""
66

77
import os

0 commit comments

Comments
 (0)