Merged PR 122: Stripe key re-added

Stripe key re-added
This commit is contained in:
Dominic Villemure
2024-08-25 18:15:11 +00:00
2 changed files with 4 additions and 1 deletions

View File

@@ -15,7 +15,7 @@ public class StripeService : IStripeService
public StripeService(IHttpContextAccessor httpContextAccessor, IConfiguration configuration)
{
_httpContextAccessor = httpContextAccessor;
var stripeKey = configuration["STRIPE-API-KEY"] ?? "";
var stripeKey = configuration["Stripe:apiKey"] ?? "";
StripeConfiguration.ApiKey = stripeKey;
}

View File

@@ -19,5 +19,8 @@
"Issuer": "https://auth.hutopy.com",
"Key": "b2df428b9929d3ace7c598bbf4e496b2f0b71ab3cd4f94540356cfc35b000000"
}
},
"Stripe": {
"apiKey": "sk_test_51OoveVDrRyqXtNdBaOs1DFFja0XhrQtJoAo83uSySMuqw4Wyt9NsuugrIHRqet9a50cr5GvolpTP8EZuTSttcgYx00gOUPNDoI"
}
}