-
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
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| __init__.py | ||
| test_migrations.py | ||
| test_monitor.py | ||
| test_paypal.py | ||
| test_pricing.py | ||
| test_stripe.py | ||
| test_subscription.py | ||
| test_wallet.py |