Skip to content

Commit fe5c2a7

Browse files
feat(billing): scaffold billing module with Stripe SDK
Add billing module structure following existing module patterns (controllers, services, routes, models, policies, middlewares, repositories, tests) with development config for Stripe integration. Closes #3240
1 parent 4699810 commit fe5c2a7

11 files changed

Lines changed: 83 additions & 200 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
const config = {
2+
stripe: {
3+
secretKey: 'sk_test_placeholder',
4+
webhookSecret: 'whsec_placeholder',
5+
prices: {
6+
starter: {
7+
monthly: 'price_starter_monthly_placeholder',
8+
annual: 'price_starter_annual_placeholder',
9+
},
10+
pro: {
11+
monthly: 'price_pro_monthly_placeholder',
12+
annual: 'price_pro_annual_placeholder',
13+
},
14+
},
15+
},
16+
};
17+
18+
export default config;

modules/billing/controllers/.gitkeep

Whitespace-only changes.

modules/billing/middlewares/.gitkeep

Whitespace-only changes.

modules/billing/models/.gitkeep

Whitespace-only changes.

modules/billing/policies/.gitkeep

Whitespace-only changes.

modules/billing/repositories/.gitkeep

Whitespace-only changes.

modules/billing/routes/.gitkeep

Whitespace-only changes.

modules/billing/services/.gitkeep

Whitespace-only changes.

modules/billing/tests/.gitkeep

Whitespace-only changes.

package-lock.json

Lines changed: 64 additions & 200 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)