Update pricing table and billing configuration
Updated the pricing table component to display all line items for a plan, removed condition to exclude primary plan. Adjusted the type of a billing package in the sample configuration to be "metered" instead of "flat". Made related changes in line-item-details component to handle the changes in billing type and to fix the layout.
This commit is contained in:
@@ -33,7 +33,14 @@ export default createBillingSchema({
|
||||
id: 'price_1NNwYHI1i3VnbZTqI2UzaHIe',
|
||||
name: 'Addon 2',
|
||||
cost: 9.99,
|
||||
type: 'flat' as const,
|
||||
type: 'metered' as const,
|
||||
unit: 'GB',
|
||||
tiers: [
|
||||
{
|
||||
cost: 0.5,
|
||||
upTo: 'unlimited',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user