To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorSee account status
When the user goes to their 'my account' page, they'll expect to be able to
see details like:
- what plan they're currently on
- next billing date
- some details of current card
- messaging if they've cancelled their account or their card has become invalid
We let you sign up and choose your plan without forcing you to enter credit card details.
You can then go and set them from the account page.
- Scenarios
-
- New subscriber signs up for paid plan
- User sits on free trial for over 30 days then activates
- Free plan user sees account status
- Free user upgrades
- New subscriber signs up for paid plan
-
- Given
- I have signed up for the Pro plan
- When
- I view my account status
- Then
- I should see that I'm on the Pro plan
- And
- I should see that my billing account is not active
- And
- I should be asked for my credit card details
- When
- I enter a valid credit card
- Then
- I should see that my card details have been saved
- When
- I view my account status
- Then
- I should see that my billing account is active
- And
- I should see my masked card number
- And
- I should see that my next billing date is in 30 days
- User sits on free trial for over 30 days then activates
-
Because the trial is already over, you're billed immediately and
your billing date then shows as 1 month from today.- Given
- I signed up for the Pro plan 45 days ago
- When
- I view my account status
- Then
- I should see that I'm on the Pro plan
- And
- I should see that I need to activate my account
- And
- I should see that my next billing date is today
- When
- I enter a valid credit card
- Then
- I should see that my card details have been saved
- When
- I view my account status
- Then
- I should see that my billing account is active
- And
- I should see that my next billing date is 1 month from today
- Free plan user sees account status
-
- Given
- I have signed up for the Free plan
- When
- I view my account status
- Then
- I should see that my billing account is not active
- Free user upgrades
-
- Given
- I signed up for the Free plan 45 days ago
- When
- I view my account status
- And
- I change to the Pro plan
- And
- I enter a valid credit card
- Then
- I should see that my next billing date is in 30 days
Last published over 5 years ago by mattwynne.