Skip to main content

Upsell Unlimited Plugins A/B

https://powrtrak.atlassian.net/browse/PM-5816

Feature: User enters Upsell Unlimited Plugins A/B

Given a logged in user has no active POWr subscriptions

When the user clicks into a Starter or Pro plan on any POWr pricing table

And the user is in group B of upsell_unlimited_plugins

Then the user should see a section titled "Special Offer"

And a radio button which is not selected by default with upsell messaging "Get 58 more plugins for just $5!"

And the radio button includes a description that links to powr.io/plugins

Feature: User in control group sees regular checkout

Given a logged in user has no active POWr subscriptions

When the user clicks into a Starter or Pro plan on any POWr pricing table

And the user is in group A of upsell_unlimited_plugins

Then the user should see the regular checkout listing price breakdown and any discounts or credits (if applicable)

And the user does not see any upsell messaging or special price changes in checkout

Feature: User sees upsell Business in checkout

Given a logged in user has no active POWr subscriptions

When the user clicks into a Starter or Pro plan on any POWr pricing table

And the user is in group B of upsell_unlimited_plugins

Then the user should see a radio button with upsell messaging "Get 58 more plugins for just $5!"

Feature: User selects upsell Unlimited Plugins

Given a user is in group B of upsell_unlimited_plugins

When the user selects the radio button for getting "58 more plugins for just $5!"

Then the user should see a line item of "Unlimited Plugins Special" - $5 under the monthly price for monthly, yearly, and biennial plans

And the displayed total price changes as follows:

Monthly: price + $5

Yearly: price + $60

Biennial: price + $120

Feature: User purchases Starter or Pro with Upsell Unlimited Plugins

Given a user is in group B of upsell_unlimited_plugins

And the user has selected the radio button for getting "58 more plugins for just $5!"

When the user confirms their upgrade purchase

Then a pro_subscription should be created with the price being $5 / $60 / $120 more than the regular price

And the user should immediately get their subscription bumped to the Pro level

(Sync with Aigul on how to use this; this function already exists and will cause all current and future plugins in the user's account to be put on the Pro level )

Feature: User keeps upgrade active on plugins after downgrading to a lower plan

Given a user is in group B of upsell_unlimited_plugins

And the user has purchased a Pro upgrade using the upsell promo

When the user chooses to downgrade their plugin to Starter

Then the user will have all of their plugins downgraded to Starter

(This is existing logic; no action item here other than being assured that this is intended behavior)

Feature: A/B data is tracked on powr_ab

Given a logged in user has no active POWr subscriptions

When the user clicks into a Starter or Pro plan on any POWr pricing table

Then the user should be added to the upsell_unlimited_plugins A/B

And the user's active plugins, upgrades, and downgrades should be added to the count on /admin/powr_ab using our ab_logs system

Feature: User can no longer enter yearly_upsell_in_checkout A/B

Given a logged in user has no active POWr subscriptions

When the user clicks into a Monthly plan on any POWr pricing table

Then the user should never see the yearly_upsell_in_checkout A/B

Remove all code related to yearly_upsell_in_checkout