diff --git a/src/payments/contract_checkout.py b/src/payments/contract_checkout.py index 5d7d2792..96a485f1 100644 --- a/src/payments/contract_checkout.py +++ b/src/payments/contract_checkout.py @@ -89,8 +89,6 @@ ERC20_TRANSFER_EVENT_ABI = { DEFAULT_PLAN_CATALOG: Dict[str, Dict[str, Any]] = { "pro_monthly": {"plan_id": 101, "amount_usdc": "10", "duration_days": 30}, - "pro_quarterly": {"plan_id": 102, "amount_usdc": "79", "duration_days": 90}, - "pro_yearly": {"plan_id": 103, "amount_usdc": "279", "duration_days": 365}, } diff --git a/web/services/ops_api.py b/web/services/ops_api.py index 15fc5e39..a214919e 100644 --- a/web/services/ops_api.py +++ b/web/services/ops_api.py @@ -395,7 +395,7 @@ def grant_ops_subscription( if not supabase_url or not service_role_key: raise HTTPException(status_code=503, detail="Supabase not configured") - allowed_plans = {"pro_monthly", "pro_quarterly", "pro_yearly"} + allowed_plans = {"pro_monthly"} if plan_code not in allowed_plans: raise HTTPException(status_code=400, detail=f"invalid plan_code, allowed: {allowed_plans}")