From e6f218085d2fb27575c9eb867f6d340ef11391a3 Mon Sep 17 00:00:00 2001 From: Szabolcs Deme Date: Tue, 5 Mar 2024 22:34:18 +0100 Subject: [PATCH] Updating Readme --- Lombiq.Hosting.Tenants.Maintenance/Manifest.cs | 2 +- Lombiq.Hosting.Tenants.Maintenance/Readme.md | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/Lombiq.Hosting.Tenants.Maintenance/Manifest.cs b/Lombiq.Hosting.Tenants.Maintenance/Manifest.cs index ff4872db..1534e5f7 100644 --- a/Lombiq.Hosting.Tenants.Maintenance/Manifest.cs +++ b/Lombiq.Hosting.Tenants.Maintenance/Manifest.cs @@ -64,7 +64,7 @@ [assembly: Feature( Id = ResetStripeApiCredentials, Name = "Lombiq Hosting - Tenants Maintenance Reset Stripe API Credentials", - Description = "Replaces the Stripe Publishable Key and Secret Key to the publicly available test keys, if they are empty.", + Description = "Replaces the Stripe Publishable Key and Secret Key to the publicly available test keys, if they are not empty.", Category = "Maintenance", Dependencies = new[] { Maintenance } )] diff --git a/Lombiq.Hosting.Tenants.Maintenance/Readme.md b/Lombiq.Hosting.Tenants.Maintenance/Readme.md index 0a9ca256..cc528389 100644 --- a/Lombiq.Hosting.Tenants.Maintenance/Readme.md +++ b/Lombiq.Hosting.Tenants.Maintenance/Readme.md @@ -151,3 +151,21 @@ The following configuration should be used to allow the maintenance to run: } } ``` + +### `Lombiq.Hosting.Tenants.Maintenance.ResetStripeApiCredentials` + +It's a maintenance task that replaces the Stripe Publishable Key and Secret Key to the publicly available test keys, if they are not empty. + +The following configuration should be used to allow the maintenance to run: + +```json +{ + "OrchardCore": { + "Lombiq_Hosting_Tenants_Maintenance": { + "ResetStripeApiCredentials": { + "IsEnabled": true + } + } + } +} +```