Skip to content

Commit

Permalink
Allow 2-years plan variants through CheckoutSystemDecider (#42777)
Browse files Browse the repository at this point in the history
* Allow 2-years and monthly plan variants through CheckoutSystemDecider

* Remove monthly plans
  • Loading branch information
sirbrillig authored May 29, 2020
1 parent d77bf4f commit 6891b77
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions client/my-sites/checkout/checkout-system-decider.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,12 +160,17 @@ function shouldShowCompositeCheckout(
// so they do not need to go through this check.
const isRenewal = !! purchaseId;
const pseudoSlugsToAllow = [
'personal',
'premium',
'blogger',
'ecommerce',
'blogger-2-years',
'business',
'business-2-years',
'concierge-session',
'ecommerce',
'ecommerce-2-years',
'personal',
'personal-2-years',
'premium',
'premium-2-years',
];
const slugPrefixesToAllow = [ 'domain-mapping:', 'theme:' ];
if (
Expand Down

0 comments on commit 6891b77

Please sign in to comment.