Subscription objects are missing a currency field
czue opened this issue · comments
Describe the bug
Stripe subscription objects have a currency
field (https://stripe.com/docs/api/subscriptions/object#subscription_object-currency), however this is missing from dj-stripe
.
This is a problem if you are using multi-currency subscriptions, because you can't easily tell which currency the subscription is in, making it difficult to show the correct information.
Note: I wasn't sure whether to file this as a bug or API update, since I couldn't figure out when this was added to the API
To Reproduce
N/A
Software versions
- Dj-Stripe version: 2.8.1
- Python version: 3.11.3
- Django version: 4.2.4
- Stripe API version: 2023-08-16
- Database type and version: Postgres 14
Similarly it would be nice to have currency_options
on Price
objects. That should maybe be a separate issue
dj-stripe 3.0 will have a full dictionary of all fields up-to-date from the latest sync. These two fields will not be added (we're removing most fields), but they will be in that new json dict.
I'm closing this as it's done by default.