File tree Expand file tree Collapse file tree 3 files changed +15
-16
lines changed Expand file tree Collapse file tree 3 files changed +15
-16
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,8 @@ const BillingPageContents: FC = () => {
1414 const quartzMe = useSelector ( getQuartzMe )
1515
1616 if (
17- quartzMe ?. accountType === 'pay_as_you_go' &&
17+ ( quartzMe ?. accountType === 'pay_as_you_go' ||
18+ quartzMe ?. accountType === 'contract' ) &&
1819 quartzMe ?. billingProvider !== 'zuora'
1920 ) {
2021 return < MarketplaceBilling />
Original file line number Diff line number Diff line change @@ -7,19 +7,17 @@ import CheckoutProvider from 'src/checkout/context/checkout'
77import { isFlagEnabled } from 'src/shared/utils/featureFlag'
88import ZuoraOutagePage from 'src/shared/components/zuora/ZuoraOutagePage'
99
10- const CheckoutV2 : FC = ( ) => {
11- return (
12- < CheckoutProvider >
13- < >
14- < SuccessOverlay />
15- { isFlagEnabled ( 'quartzZuoraDisabled' ) ? (
16- < ZuoraOutagePage />
17- ) : (
18- < CheckoutForm />
19- ) }
20- </ >
21- </ CheckoutProvider >
22- )
23- }
10+ const CheckoutV2 : FC = ( ) => (
11+ < CheckoutProvider >
12+ < >
13+ < SuccessOverlay />
14+ { isFlagEnabled ( 'quartzZuoraDisabled' ) ? (
15+ < ZuoraOutagePage />
16+ ) : (
17+ < CheckoutForm />
18+ ) }
19+ </ >
20+ </ CheckoutProvider >
21+ )
2422
2523export default CheckoutV2
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ const canAccessCheckout = (me: Me): boolean => {
3434 if ( ! ! me ?. isRegionBeta ) {
3535 return false
3636 }
37- return me ?. accountType !== 'pay_as_you_go'
37+ return me ?. accountType !== 'pay_as_you_go' && me ?. accountType !== 'contract'
3838}
3939
4040const GetOrganizations : FunctionComponent = ( ) => {
You can’t perform that action at this time.
0 commit comments