- Changed JSON naming policy from CamelCase to SnakeCaseLower for SilverPay API compatibility - Fixed field name from 'fiat_amount' to 'amount' in request body - Used unique payment ID instead of order ID to avoid duplicate external_id conflicts - Modified SilverPayApiResponse to handle string amounts from API - Added [JsonIgnore] attributes to computed properties to prevent JSON serialization conflicts - Fixed test compilation errors (mock service and enum casting issues) - Updated SilverPay endpoint to http://10.0.0.52:8001/ 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
43 lines
1.1 KiB
JSON
43 lines
1.1 KiB
JSON
{
|
|
"ConnectionStrings": {
|
|
"DefaultConnection": "Data Source=littleshop-dev.db"
|
|
},
|
|
"Jwt": {
|
|
"Key": "DEVELOPMENT_USE_DOTNET_USER_SECRETS_OR_ENV_VAR",
|
|
"Issuer": "LittleShop-Dev",
|
|
"Audience": "LittleShop-Dev",
|
|
"ExpiryInHours": 2
|
|
},
|
|
"SilverPay": {
|
|
"BaseUrl": "http://localhost:8001",
|
|
"ApiKey": "sp_test_key_development",
|
|
"WebhookSecret": "webhook_secret_dev",
|
|
"DefaultWebhookUrl": "http://localhost:5000/api/orders/payments/webhook",
|
|
"AllowUnsignedWebhooks": true
|
|
},
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Debug",
|
|
"Microsoft.AspNetCore": "Information",
|
|
"LittleShop": "Debug"
|
|
}
|
|
},
|
|
"Security": {
|
|
"AllowInsecureSSL": true,
|
|
"EnableDetailedErrors": true
|
|
},
|
|
"CORS": {
|
|
"AllowedOrigins": [
|
|
"http://localhost:3000",
|
|
"http://localhost:5173",
|
|
"http://localhost:5000",
|
|
"http://localhost:5001",
|
|
"https://localhost:5001",
|
|
"http://localhost:8080"
|
|
]
|
|
},
|
|
"TeleBot": {
|
|
"ApiUrl": "http://localhost:8080",
|
|
"ApiKey": "development-key-replace-in-production"
|
|
}
|
|
} |