feat: add GetPaymentPlans graphQL query
This commit is contained in:
@@ -4,6 +4,7 @@ import PaymentPlan from '../../models/payment-plan.ee';
|
||||
import UsageData from '../../models/usage-data.ee';
|
||||
import appConfig from '../../config/app';
|
||||
import handleWebhooks from './webhooks.ee';
|
||||
import paddlePlans from './plans.ee';
|
||||
|
||||
const plans = [
|
||||
{
|
||||
@@ -95,6 +96,7 @@ const billing = {
|
||||
handleWebhooks,
|
||||
stripe,
|
||||
plans,
|
||||
paddlePlans,
|
||||
};
|
||||
|
||||
export default billing;
|
||||
|
16
packages/backend/src/helpers/billing/plans.ee.ts
Normal file
16
packages/backend/src/helpers/billing/plans.ee.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
const plans = [
|
||||
{
|
||||
name: '10k - monthly',
|
||||
limit: '10,000',
|
||||
price: '€20',
|
||||
productId: '47384',
|
||||
},
|
||||
{
|
||||
name: '30k - monthly',
|
||||
limit: '30,000',
|
||||
price: '€50',
|
||||
productId: '47419',
|
||||
},
|
||||
];
|
||||
|
||||
export default plans;
|
Reference in New Issue
Block a user