check for a particular user
MODIFY
src/integration/billing/stripe/StripeBillingIntegration.ts
src/integration/billing/stripe/StripeBillingIntegration.ts
@@ -760,6 +760,12 @@ export default class StripeBillingIntegration extends BillingIntegration {
// Internal user
return true;
}
+ } else if (this.tenant.id === '5e2701b248aaa90007904cca') {
+ // Special mode for a particular user on that particular tenant
+ if (user.id !== '5e74e254a25a3e0006fa79d3') {
+ // Do not bill other users than that one!
+ return true;
+ }
}
// This is an external user
return false;

check for a particular user