Drf-stripe-subscription

Latest version: v1.2.2

Safety actively analyzes 682441 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

1.2.2

What's Changed
* FIX: Validation issue when next_invoice_sequence is omitted from API response by Dysanix in https://github.com/oscarychen/drf-stripe-subscription/pull/44

New Contributors
* Dysanix made their first contribution in https://github.com/oscarychen/drf-stripe-subscription/pull/44

**Full Changelog**: https://github.com/oscarychen/drf-stripe-subscription/compare/1.2.1...1.2.2

1.2.1

bug fixes

1.2.0

1.1.13

1.1.12

1.1.11

Added support for working with custom Django User Model.

The following DRF_STRIPE settings can be used to customize how Django creates User instance using Stripe Customer
attributes (default values shown):

python
DRF_STRIPE = {
"DJANGO_USER_EMAIL_FIELD": "email",
"USER_CREATE_DEFAULTS_ATTRIBUTE_MAP": {"username": "email"},
}


The `DJANGO_USER_EMAIL_FIELD` specifies name of the Django User attribute to be used to store Stripe Customer email. It
will be used to look up existing Django User using Stripe Customer email.

The `USER_CREATE_DEFAULTS_ATTRIBUTE_MAP` maps the name of Django User attribute to name of corresponding Stripe Customer
attribute, and is used during the automated Django User instance creation.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.