Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated StripeModel._api_update() to use Idempotency Key object
The _api_update() method now does the following: 1) Generates a new Idempotency Key object if not given one using the Stripe object's ID that is being updated. 2) Uses the Idempotency key (from 1)) to make the Stripe API call. 3) Updates the metadata of the Stripe object with the idempotency_key key if the Stripe object supports the metadata key.
- Loading branch information