Update pricing table to exclude flat line items
The pricing table component now filters out flat line items as they do not require further explanation. Consequently, changes have been made to the billing sample configuration file, turning a previously metered item into a flat one for clearer demonstration of usage.
This commit is contained in:
@@ -33,14 +33,7 @@ export default createBillingSchema({
|
||||
id: 'price_1NNwYHI1i3VnbZTqI2UzaHIe',
|
||||
name: 'Addon 2',
|
||||
cost: 9.99,
|
||||
type: 'metered' as const,
|
||||
unit: 'GB',
|
||||
tiers: [
|
||||
{
|
||||
cost: 0.5,
|
||||
upTo: 'unlimited',
|
||||
},
|
||||
],
|
||||
type: 'flat' as const,
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user