EMERGENCY FIXES: ✅ DELETE MockSilverPayService.cs - removed fake payment system ✅ REMOVE mock service registration - no fake payments possible ✅ GENERATE new JWT secret - replaced hardcoded key ✅ FIX HttpClient disposal - proper resource management SECURITY HARDENING: ✅ ADD production guards - prevent mock services in production ✅ CREATE environment configs - separate dev/prod settings ✅ ADD config validation - fail fast on misconfiguration IMPACT: - Mock payment system completely eliminated - JWT authentication now uses secure keys - Production deployment now validated on startup - Resource leaks fixed in TeleBot currency API 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
14 lines
325 B
JSON
14 lines
325 B
JSON
{
|
|
"identityReference": "test-customer-1",
|
|
"shippingName": "Test Customer",
|
|
"shippingAddress": "123 Test St",
|
|
"shippingCity": "London",
|
|
"shippingPostCode": "SW1A 1AA",
|
|
"shippingCountry": "United Kingdom",
|
|
"items": [
|
|
{
|
|
"productId": "f53e3e01-f499-4c6b-a99a-bde5113c7406",
|
|
"quantity": 1
|
|
}
|
|
]
|
|
} |