trial account sattus fix
This commit is contained in:
@@ -404,7 +404,8 @@ class RegisterSerializer(serializers.Serializer):
|
||||
# simple monthly cycle; if annual needed, extend here
|
||||
billing_period_end = billing_period_start + timedelta(days=30)
|
||||
else:
|
||||
account_status = 'trial'
|
||||
# Free/trial plans get active status immediately
|
||||
account_status = 'active'
|
||||
initial_credits = plan.get_effective_credits_per_month()
|
||||
billing_period_start = None
|
||||
billing_period_end = None
|
||||
|
||||
Reference in New Issue
Block a user