Stripe key re-added
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -19,5 +19,8 @@
|
||||
"Issuer": "https://auth.hutopy.com",
|
||||
"Key": "b2df428b9929d3ace7c598bbf4e496b2f0b71ab3cd4f94540356cfc35b000000"
|
||||
}
|
||||
},
|
||||
"Stripe": {
|
||||
"apiKey": "sk_test_51OoveVDrRyqXtNdBaOs1DFFja0XhrQtJoAo83uSySMuqw4Wyt9NsuugrIHRqet9a50cr5GvolpTP8EZuTSttcgYx00gOUPNDoI"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user