Skip to content

Improved message when trial is pending card verification #126

Open
@moritzschuh

Description

@moritzschuh

When a credit card is required to verify a free trial (upsun), the project:create command will fail until a card has been added.
At the moment if you don't belong to an organization with the #create-subscription link, for example, project:create will say:

You do not yet own nor belong to an organization in which you can create a project.

This may be confusing if they have in fact created organizations, which they are - of course - the owner of, but haven't yet added a credit card for verification.
This therefor may lead the user to the creation of multiple organizations without being able to create a project.

We should display an improved message if:

  • The user is the owner of the organization
  • and the create-subscription link is not present

This may be the case if:

  • the org is not trial eligible (payment method needs adding)
  • the org has a trial, but no card for verification has been added (card needs adding to activate organization and use trial)
  • the org has failed payments (new card needs adding, or problem with card needs solving)

Optimally, we would check if the user has an active free trial and and display two different messages:

  • has active trial: message should indicate that they may need to verify their account via Console.
  • does not have active trial: message should indicate that they need to verify their billing details

Metadata

Metadata

Assignees

Labels

legacyCaused by the Legacy CLI

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions