Skip to content

Commit

Permalink
Updated docs with support for idempotency_keys
Browse files Browse the repository at this point in the history
  • Loading branch information
arnav13081994 committed Apr 20, 2023
1 parent a074290 commit 902b15b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/history/2_8_0.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
- `djstripe.signals.webhook_processing_error` now also takes `instance` and `api_key` arguments
- `stripe.api_version` is no longer manipulated by dj-stripe.
- Resolved ambiguity between `LineItem` and `InvoiceItem` models. It was incorrectly assumed that the `lines` List object on `Invoice` and `UpcomingInvoice` models only return `InvoiceItem` objects. Moreover `LineItem` objects can also be of type `subscription` if the user adds a Subscription to their `Invoice` as a lineitem.
- Added support for `idempotency` keys. `djstripe` now automatically generates and puts keys in Stripe Object's Metadata (if possible). Users have the option to supply their own as well for `create` calls.

## Deprecated features

Expand All @@ -46,7 +47,6 @@
created `Refund` object is now returned as opposed to
the `Charge` object.
- Renamed `get_idempotency_key` to `create_idempotency_key` to better reflect its functionality.
-


## Other changes
Expand Down

0 comments on commit 902b15b

Please sign in to comment.