Adjusted Per seat billing and added example to the sample schema

This commit is contained in:
giancarlo
2024-04-22 22:48:02 +08:00
parent b96d4cf855
commit 70da6ef1fa
19 changed files with 2190 additions and 2066 deletions

View File

@@ -26,7 +26,6 @@ export default createBillingSchema({
{
name: 'Starter Monthly',
id: 'starter-monthly',
trialDays: 7,
paymentType: 'recurring',
interval: 'month',
lineItems: [
@@ -36,6 +35,26 @@ export default createBillingSchema({
cost: 9.99,
type: 'flat',
},
{
id: 'price_1P8N0zI1i3VnbZTqtUPc1Zvr',
name: 'Addon 3',
cost: 0,
type: 'per_seat',
tiers: [
{
upTo: 1,
cost: 0,
},
{
upTo: 5,
cost: 4,
},
{
upTo: 'unlimited',
cost: 3,
},
],
},
],
},
{