forked from ungleich-public/dynamicweb
Pin the Stripe API version the code is written for, stripe-python 16 sends its newest one
This commit is contained in:
parent
6e10f30a76
commit
a864a4ea77
1 changed files with 3 additions and 0 deletions
|
|
@ -554,6 +554,9 @@ REGISTRATION_MESSAGE = {
|
|||
}
|
||||
STRIPE_API_PRIVATE_KEY = env('STRIPE_API_PRIVATE_KEY')
|
||||
STRIPE_API_PUBLIC_KEY = env('STRIPE_API_PUBLIC_KEY')
|
||||
# stripe-python sends the newest API version of its release, the code is written
|
||||
# for the objects of this one (invoice.payment_intent, line item plan/type, ...)
|
||||
STRIPE_API_VERSION = env('STRIPE_API_VERSION', default='2020-08-27')
|
||||
STRIPE_API_PRIVATE_KEY_TEST = env('STRIPE_API_PRIVATE_KEY_TEST')
|
||||
|
||||
ANONYMOUS_USER_NAME = 'anonymous@ungleich.ch'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue