Skip to main content

ByPeople promo specs

Background: We are doing a deal with ByPeople, which is similar to the StackCommerce deal we did. Most of this should already be functional. Here is the flow:

  • User will see deal on ByPeople
  • They will purchase the deal on ByPeople and be given a promo code and a redirect url to POWr
  • On POWr they will see a screen to create an account and enter the promo code
  • Upon entering a valid promo code, the user should automatically be upgraded to lifetime Pro*

Make sure Emilie sees this for QA

Scenario: We need to give ByPeople 10,000 unique codes in a CSV that can be redeemed on POWr. \ Familiarize yourself with PromoCode model. \

  • Populate the DB with 10,000 unique codes (needs to be easy enough for someone to read / type in a code) \
  • Produce a CSV of the populated codes (from production) and send to Emilie.

\ Scenario: A user coming from ByPeople should see a modified sign up screen with a promo code input. \ WHEN a user visits www.powr.io/users/sign_up?promo=true&src=bypeople \ THEN they should see a sign up screen with an option to insert a promo code below the password field. This box should say ‘Promo Code’.

Scenario: A user coming from ByPeople should not see the social login option nad should see updated CTA button text..

WHEN a user visits www.powr.io/users/new?promo=true&src=bypeople

THEN they should see a sign up screen that DOES NOT include social login (Google, Facebook, Yahoo)

AND the CTA button should say ‘Sign Up’.

\ Scenario: A user visiting without promo=true parameter should NOT see promo code input. \ WHEN a user visits www.powr.io/users/new \ THEN they should NOT see a sign up screen with an option to insert a promo code below the password field

Scenario: A user with a valid promo code should be able to redeem their code once and receive lifetime access to POWr Pro. \ GIVEN that a user has received a valid promo code \ WHEN they go to www.powr.io/users/new?promo=true&src=bypeople \ AND enter a valid promo code \ THEN they should have a free trial of Pro that expires in 10 years \

Scenario: A valid promo code should NOT be able to redeemed more than once. \ GIVEN that a user has already used a valid promo code \ WHEN they go to www.powr.io/users/new?promo=true&src=bypeople \ AND enter the same promo code \ THEN they should NOT get another trial of Pro \

Scenario: A user with an invalid promo code should not be able to receive lifetime access to POWr Pro. \ GIVEN that a user does NOT have a valid promo code \ WHEN they go to www.powr.io/users/new?promo=true&src=bypeople \ AND enter a FAKE promo code (i.e. A code that does NOT exist in promo codes table) \ THEN they should NOT have any free trial \ AND they should see a message “Code is not valid. Please try again or contact [email protected]” \ \ Scenario: A user that signs up with a valid promo code should see a toast notification that welcomes them to POWr Pro. \ GIVEN that a user has received a valid promo code \ WHEN they have signed up using that code \ THEN they should see a green toast notification on users/me screen welcoming them to POWr Pro. Use simple copies for this text that say ‘Thank you for activating your ByPeople lifetime Pro plan. You have unlimited access to all plugins and all Pro plan features 🎉’.

Scenario: A user has signed up using a unique code they purchased on ByPeople giving them lifetime Pro access. When they log in, they should see a toast notification in users/me that welcomes them to POWr Pro. \ GIVEN that a user has purchased the lifetime Pro promo on ByPeople \ WHEN they log in for the first time using our ByPeople redemption login screen (see PM‌-5554 ) \ THEN they should see a toast notification that is just for ByPeople sign ups (Marketing to provide simple copies).