File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/subscription-controller/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ import type {
3030} from './types' ;
3131import {
3232 PAYMENT_TYPES ,
33- RECURRING_INTERVALS ,
3433 type ISubscriptionService ,
3534 type PricingResponse ,
3635 type ProductType ,
@@ -578,7 +577,7 @@ export class SubscriptionController extends StaticIntervalPollingController()<
578577 const hasTrailedBefore = this . state . trialedProducts . some ( ( product ) =>
579578 request . products . includes ( product ) ,
580579 ) ;
581- // if the user has not trailed the provided products before, submit the sponsorship intents
580+ // if the user has not trialed the provided products before, submit the sponsorship intents
582581 if ( hasTrailedBefore ) {
583582 return ;
584583 }
@@ -589,6 +588,7 @@ export class SubscriptionController extends StaticIntervalPollingController()<
589588
590589 const { paymentTokenSymbol, plan } = selectedPaymentMethod ;
591590 const productPrice = this . #getProductPriceByProductAndPlan(
591+ // we only support one product at a time for now
592592 request . products [ 0 ] ,
593593 plan ,
594594 ) ;
You can’t perform that action at this time.
0 commit comments