quantum-ai/core/urls.py
Claude e7d5ccf017 Implement webhook-free Stripe payment verification system
 SOLUTION: Bypass webhook delivery issues entirely

Changes:
- Enhanced checkout session creation with session_id in success URL
- Updated success page to automatically verify payments via Stripe API
- Added manual payment verification modal on wallet page
- Users can verify payments manually if automatic verification fails
- Real-time balance updates without depending on webhooks

Benefits:
- Instant payment confirmation upon return from Stripe
- No webhook delivery dependency
- Manual fallback for edge cases
- Better user experience with immediate feedback

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

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

25 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/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'),
]