Implemented cart hydration and refactored paynow flow
continuous-integration/drone/pr Build is passing

This commit is contained in:
Khwezi Mngoma
2026-06-15 16:42:09 +02:00
parent 11e0176e40
commit 7199a6651b
7 changed files with 185 additions and 55 deletions
+2
View File
@@ -10,6 +10,7 @@ public static class Setup
{
public static IServiceCollection RegisterServices(this IServiceCollection services, IConfiguration configuration)
{
services.AddCancellationToken();
services.AddAntiforgery();
services.AddRazorComponents()
@@ -28,6 +29,7 @@ public static class Setup
services.AddHttpClient();
services.AddScoped<CartService>();
services.AddScoped<HydrationService>();
services.AddShopServices(includeLocalStorage: true);
services.AddHashServices(configuration);
services.AddPayfastServices(configuration);