Implemented cart hydration and refactored paynow flow
continuous-integration/drone/pr Build is passing
continuous-integration/drone/pr Build is passing
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user