Improve billing plan lookup (#270)
Retrieve plan from Stripe/LS if not found in billing configuration. Useful for legacy plans.
This commit is contained in:
committed by
GitHub
parent
2b21b7bed4
commit
856e9612c4
@@ -63,8 +63,11 @@ export abstract class BillingStrategyProviderService {
|
||||
abstract getPlanById(planId: string): Promise<{
|
||||
id: string;
|
||||
name: string;
|
||||
description?: string;
|
||||
interval: string;
|
||||
amount: number;
|
||||
type: 'recurring' | 'one_time';
|
||||
intervalCount?: number;
|
||||
}>;
|
||||
|
||||
abstract getSubscription(subscriptionId: string): Promise<
|
||||
|
||||
Reference in New Issue
Block a user