- Replace dropdown tier selection with attractive visual buttons - Add tier-button CSS with hover effects and selection states - Remove 'or pay by card' divider from subscription form for cleaner UI - Update JavaScript to handle tier button selection events - Fix Stripe module import conflict by renaming stripe directory to stripe_config - Add responsive grid layout for tier buttons on mobile devices
20 lines
446 B
Python
20 lines
446 B
Python
# -*- coding: utf-8 -*-
|
|
from typing_extensions import TYPE_CHECKING
|
|
from warnings import warn
|
|
|
|
warn(
|
|
"""
|
|
The stripe.http_client package is deprecated, please change your
|
|
imports to import from stripe directly.
|
|
From:
|
|
from stripe.http_client import HTTPClient
|
|
To:
|
|
from stripe import HTTPClient
|
|
""",
|
|
DeprecationWarning,
|
|
stacklevel=2,
|
|
)
|
|
|
|
if not TYPE_CHECKING:
|
|
from stripe._http_client import * # noqa
|