• Your Name's avatar
    feat(payments): implement tier upgrades with proration · 00c73c80
    Your Name authored
    - Add upgrade_subscription() method to SubscriptionManager
    - Calculate prorated charge based on unused time in billing period
    - Formula: new_price - (old_price × unused_fraction)
    - Update subscription tier immediately while keeping same period end date
    - Charge prorated amount via existing payment method
    - Add comprehensive tests for proration calculations
    - Test edge cases: no subscription, invalid tier, accurate proration math
    00c73c80
Name
Last commit
Last update
..
__init__.py Loading commit data...
test_migrations.py Loading commit data...
test_monitor.py Loading commit data...
test_paypal.py Loading commit data...
test_pricing.py Loading commit data...
test_stripe.py Loading commit data...
test_subscription.py Loading commit data...
test_wallet.py Loading commit data...