• Your Name's avatar
    feat(payments): implement subscription creation with initial payment · 394dabc4
    Your Name authored
    - Create SubscriptionManager class with create_subscription method
    - Validate tier and payment method before creating subscription
    - Calculate amount based on billing cycle (monthly/yearly)
    - Check for existing active subscription
    - Calculate period dates with immediate start
    - Charge payment via fiat (card/PayPal) or crypto
    - Create subscription record and update user tier
    - Add comprehensive test coverage
    394dabc4
__init__.py 142 Bytes