Pin the Stripe API version the code is written for, stripe-python 16 sends its newest one

This commit is contained in:
sajeyks 2026-11-05 15:44:08 +03:00
commit a864a4ea77

View file

@ -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'