diff --git a/web/src/padelnomics/billing/stripe.py b/web/src/padelnomics/billing/stripe.py index aa86f25..58984f2 100644 --- a/web/src/padelnomics/billing/stripe.py +++ b/web/src/padelnomics/billing/stripe.py @@ -85,7 +85,7 @@ def build_multi_item_checkout_payload( def _mode_for_price(s, price_id: str) -> str: """Determine Checkout Session mode from price type.""" try: - price = s.Price.retrieve(price_id, request_options={"timeout": _STRIPE_TIMEOUT_SECONDS}) + price = s.Price.retrieve(price_id) return "subscription" if price.type == "recurring" else "payment" except Exception: # Default to payment if we can't determine @@ -95,7 +95,7 @@ def _mode_for_price(s, price_id: str) -> str: def _is_recurring_price(s, price_id: str) -> bool: """Check if a Stripe price is recurring (subscription).""" try: - price = s.Price.retrieve(price_id, request_options={"timeout": _STRIPE_TIMEOUT_SECONDS}) + price = s.Price.retrieve(price_id) return price.type == "recurring" except Exception: return False