Add billing (#329)

This commit is contained in:
Riccardo Graziosi
2024-05-03 18:11:07 +02:00
committed by GitHub
parent fc36c967af
commit bea146e612
63 changed files with 1354 additions and 27 deletions

View File

@@ -53,6 +53,11 @@ class TenantsController < ApplicationController
CreateWelcomeEntitiesWorkflow.new().run
if is_o_auth_login
CreateStripeCustomer.new().run
TenantMailer.trial_start(tenant: @tenant).deliver_later
end
logger.info { "New tenant registration: #{Current.tenant.inspect}" }
render json: @tenant, status: :created