> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking.
**Goal:** Implement a dedicated page for securely adding payment methods to user accounts, with gateway-specific integrations.
**Architecture:** New FastAPI route serves an HTML page displaying enabled payment gateways as selectable options. Each gateway uses appropriate secure integration (Stripe Elements, PayPal OAuth, immediate crypto default setting) with server-side handling and database storage.
Remove the entire add payment method modal (lines 201-386) from billing.html, including the duplicate modal.
-[]**Step 2: Change button to redirect**
Replace the "Add Payment Method" button's `data-bs-toggle` and `data-bs-target` attributes with `href="{{ url_for(request, '/dashboard/billing/add-method') }}"`.
-[]**Step 3: Commit changes**
```bash
git add templates/dashboard/billing.html
git commit -m"feat: update billing page to redirect to add payment method page"
```
### Task 2: Add Backend Route for Add Method Page
**Files:**
- Modify: `main.py`
- Test: Create `test_add_payment_method.py` (new test file)