Skip to content

Commit

Permalink
Updated internal Stripe API version to 2019-08-14
Browse files Browse the repository at this point in the history
No changes to fixtures.  Resolves dj-stripe#947

Also fixed typo in api_versions.rst
  • Loading branch information
therefromhere committed Sep 7, 2019
1 parent 94e67a7 commit c45a2c0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Features
* Stripe Sources
* Stripe v2 and v3 support
* Supports SCA regulations, Checkout Sessions, and Payment Intents
* Tested with Stripe API `2019-05-16` (see https://dj-stripe.readthedocs.io/en/latest/api_versions.html )
* Tested with Stripe API `2019-08-14` (see https://dj-stripe.readthedocs.io/en/latest/api_versions.html )

Requirements
------------
Expand Down
2 changes: 1 addition & 1 deletion djstripe/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

from .checks import validate_stripe_api_version

DEFAULT_STRIPE_API_VERSION = "2019-05-16"
DEFAULT_STRIPE_API_VERSION = "2019-08-14"


def get_callback_function(setting_name, default=None):
Expand Down
2 changes: 1 addition & 1 deletion docs/api_versions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ For new accounts this will be the latest Stripe version. When upgrading version
the latest version. See https://stripe.com/docs/upgrades#how-can-i-upgrade-my-api

This is the version used by Stripe when sending webhook data to you (though during webhook processing, dj-stripe
re-fetches the data with its preferred version). It's also the and it's the default version used by the Stripe API, but
re-fetches the data with its preferred version). It's also the default version used by the Stripe API, but
dj-stripe overrides the API version when talking to stripe (this override is triggered on import of ``djstripe.models``).

As a result your Stripe account API version is mostly irrelevant, though from time to time we will increase the
Expand Down

0 comments on commit c45a2c0

Please sign in to comment.