fix: use correct stripe management URL in staging environment (#5530)

This commit is contained in:
ggurdin 2026-01-30 10:11:51 -05:00 committed by GitHub
parent 67a1f1ee93
commit 387b97ed6d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -107,7 +107,9 @@ class Environment {
static String get stripeManagementUrl {
return appConfigOverride?.stripeManagementUrl ??
dotenv.env["STRIPE_MANAGEMENT_LINK"] ??
'https://billing.stripe.com/p/login/dR6dSkf5p6rBc4EcMM';
(isStagingEnvironment
? 'https://billing.stripe.com/p/login/test_9AQaI8d3O9lmaXe5kk'
: 'https://billing.stripe.com/p/login/dR6dSkf5p6rBc4EcMM');
}
static String get supportUserId {