quantum-ai-v2/core/urls.py
Claude 4816e3040e Add comprehensive Stripe debugging system
🔍 DEBUGGING TOOLS ADDED:

1. Enhanced Payment Creation Logging:
   - Show API key, version, environment details
   - Log complete session creation response
   - Immediate session verification after creation
   - Detailed session metadata and status

2. Enhanced Payment Verification Logging:
   - Complete session retrieval details
   - Payment intent information if available
   - Full session status and metadata
   - Account verification details

3. Stripe Debug Endpoint (/stripe/debug/):
   - Test API connectivity
   - Show account information
   - List recent checkout sessions
   - List recent charges/payments
   - Identify which Stripe account we're connected to

This will help identify:
- If payments are going to wrong Stripe account
- If API keys are correct
- If sessions are being created properly
- Where the disconnect between payments and dashboard is happening

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-12 16:44:18 +05:30

26 lines
1.5 KiB
Python

from django.urls import path
from . import views
app_name = 'core'
urlpatterns = [
path('', views.homepage_view, name='homepage'),
path('marketplace/', views.marketplace_view, name='marketplace'),
path('pricing/', views.pricing_view, name='pricing'),
path('agents/<slug:agent_slug>/', views.agent_detail_view, name='agent_detail'),
path('wallet/', views.wallet_view, name='wallet'),
path('wallet/topup/', views.wallet_topup_view, name='wallet_topup'),
path('wallet/top-up/success/', views.wallet_topup_success_view, name='wallet_topup_success'),
path('wallet/top-up/cancel/', views.wallet_topup_cancel_view, name='wallet_topup_cancel'),
path('wallet/demo/', views.wallet_demo_view, name='wallet_demo'),
path('wallet/demo/test-payment/', views.wallet_demo_test_payment, name='wallet_demo_test_payment'),
path('wallet/demo/check-balance/', views.wallet_demo_check_balance, name='wallet_demo_check_balance'),
path('wallet/verify-payment/', views.verify_payment_view, name='verify_payment'),
path('stripe/debug/', views.stripe_debug_view, name='stripe_debug'),
path('stripe/webhook/', views.stripe_webhook_view, name='stripe_webhook'),
path('webhook-test/', views.webhook_test_view, name='webhook_test'),
path('stripe-webhook-test/', views.stripe_webhook_test_view, name='stripe_webhook_test'),
path('simple-webhook-test/', views.simple_webhook_test, name='simple_webhook_test'),
path('webhook-logs/', views.get_webhook_logs, name='webhook_logs'),
path('api/agents/', views.agents_api_view, name='agents_api'),
]