Refactor payment verification to manual workflow and add comprehensive cleanup tools
Major changes: • Remove BTCPay Server integration in favor of SilverPAY manual verification • Add test data cleanup mechanisms (API endpoints and shell scripts) • Fix compilation errors in TestController (IdentityReference vs CustomerIdentity) • Add deployment automation scripts for Hostinger VPS • Enhance integration testing with comprehensive E2E validation • Add Blazor components and mobile-responsive CSS for admin interface • Create production environment configuration scripts Key Features Added: • Manual payment verification through Admin panel Order Details • Bulk test data cleanup with proper cascade handling • Deployment automation with systemd service configuration • Comprehensive E2E testing suite with SilverPAY integration validation • Mobile-first admin interface improvements Security & Production: • Environment variable configuration for production secrets • Proper JWT and VAPID key management • SilverPAY API integration with live credentials • Database cleanup and maintenance tools 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -20,6 +20,8 @@ builder.Host.UseSerilog();
|
||||
// Add services to the container.
|
||||
builder.Services.AddControllers();
|
||||
builder.Services.AddControllersWithViews(); // Add MVC for Admin Panel
|
||||
builder.Services.AddRazorPages(); // Add Razor Pages for Blazor
|
||||
builder.Services.AddServerSideBlazor(); // Add Blazor Server
|
||||
|
||||
// Configure Antiforgery
|
||||
builder.Services.AddAntiforgery(options =>
|
||||
@@ -268,6 +270,9 @@ app.MapControllerRoute(
|
||||
pattern: "{controller=Home}/{action=Index}/{id?}");
|
||||
|
||||
app.MapControllers(); // API routes
|
||||
app.MapBlazorHub(); // Map Blazor Server hub
|
||||
app.MapRazorPages(); // Enable Razor Pages for Blazor
|
||||
app.MapFallbackToPage("/blazor/{*path}", "/_Host"); // Fallback for all Blazor routes
|
||||
|
||||
// Map SignalR hub
|
||||
app.MapHub<LittleShop.Hubs.ActivityHub>("/activityHub");
|
||||
|
||||
Reference in New Issue
Block a user