Просмотр исходного кода

[web] link to correct Stripe dashboard from admin panel (#26756)

* [web] link to correct Stripe dashboard from admin panel
* [web] be more careful about constructing the base URL
* [web] be extra careful about accessing values in the subscription
* [web] switch to plain text environment variables

GitOrigin-RevId: 5fa802fce11967f56289b11476f39e2e1d5a9c74
Kristina 1 год назад
Родитель
Сommit
c5fad346f9
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      services/web/frontend/js/utils/meta.ts

+ 1 - 0
services/web/frontend/js/utils/meta.ts

@@ -247,6 +247,7 @@ export interface Meta {
   'ol-splitTestVariants': { [name: string]: string }
   'ol-ssoDisabled': boolean
   'ol-ssoErrorMessage': string
+  'ol-stripeAccountId': string
   'ol-stripeCustomerId': string
   'ol-subscription': any // TODO: mixed types, split into two fields
   'ol-subscriptionChangePreview': SubscriptionChangePreview