Skip to content

Allow users to limit free trials to one per customer #2

@that-guy-iain

Description

@that-guy-iain
We are going to add a feature to allow customers to limit customers to using a trial just once. This is to prevent abuse from users who just sign up and use trial after trial.

Tasks:
- Run features/Subscriptions/Api/Subscriptions/create_trial_subscription.feature and create any missing steps, and ensure this test passes
- Create a Symfony validator that validates if the user is eligible for the trial. The validator must check the subscription creation request has a trial, and if so, then check to see if eligible.  
- Create a migration in the multi_tenancy_migrations folder that adds the new field to the database
- Update the creation of the subscription plan to allow for a limit of one per customer via the API - DTO
- Update the creation of the subscription plan to allow for a limit of one per customer via the APP - DTO and Vue
- Ensure that all the languages have translations for the new UI fields
- Update the documentation in public_docs/user/subscriptions in a user-friendly tone with the new information.
- Update the documentation in public_docs/technical/subscriptions in a technical tone with the new information.
- Update the changelog in public_docs/misc with an entry about this feature

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions