From 0026a621bf1c2d87a54d19f2f966ab0503030554 Mon Sep 17 00:00:00 2001 From: ajay-sentry <159853603+ajay-sentry@users.noreply.github.com> Date: Fri, 27 Dec 2024 10:54:12 -0800 Subject: [PATCH] chore: Update Stripe and pin API to latest version (#981) --- requirements.in | 2 +- requirements.txt | 2 +- services/stripe.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/requirements.in b/requirements.in index c6bf0d730..742663e58 100644 --- a/requirements.in +++ b/requirements.in @@ -49,7 +49,7 @@ sentry-sdk[celery] SQLAlchemy SQLAlchemy-Utils statsd -stripe>=9.6.0 +stripe>=11.4.1 time-machine urllib3>=1.26.18 vcrpy diff --git a/requirements.txt b/requirements.txt index d11d45e10..d45fb95b7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -364,7 +364,7 @@ sqlparse==0.5.0 # via django statsd==3.3.0 # via -r requirements.in -stripe==9.6.0 +stripe==11.4.1 # via -r requirements.in test-results-parser @ https://github.com/codecov/test-results-parser/archive/c840502d1b4dd7d05b2efc2c1328affaf2acd27c.tar.gz#egg=test-results-parser # via -r requirements.in diff --git a/services/stripe.py b/services/stripe.py index 2fccf35c9..2574b7cf8 100644 --- a/services/stripe.py +++ b/services/stripe.py @@ -2,7 +2,7 @@ from shared.config import get_config stripe.api_key = get_config("services", "stripe", "api_key") -stripe.api_version = "2024-04-10" +stripe.api_version = "2024-12-18.acacia" client = stripe.http_client.RequestsClient() stripe.default_http_client = client