Skip to content

Add payment system #3094

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 46 commits into from
Jun 17, 2025

fix(db): update workspace subscription policy to allow inserts for ow…

16b3053
Select commit
Loading
Failed to load commit list.
Merged

Add payment system #3094

fix(db): update workspace subscription policy to allow inserts for ow…
16b3053
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Jun 17, 2025 in 1s

0.22% of diff hit (target 0.00%)

View this Pull Request on Codecov

0.22% of diff hit (target 0.00%)

Annotations

Check warning on line 237 in apps/web/src/app/[locale]/(dashboard)/[wsId]/billing/billing-client.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

apps/web/src/app/[locale]/(dashboard)/[wsId]/billing/billing-client.tsx#L2-L237

Added lines #L2 - L237 were not covered by tests

Check warning on line 47 in apps/web/src/app/[locale]/(dashboard)/[wsId]/billing/data-polar-checkout.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

apps/web/src/app/[locale]/(dashboard)/[wsId]/billing/data-polar-checkout.tsx#L2-L47

Added lines #L2 - L47 were not covered by tests

Check warning on line 258 in apps/web/src/app/[locale]/(dashboard)/[wsId]/billing/page.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

apps/web/src/app/[locale]/(dashboard)/[wsId]/billing/page.tsx#L2-L258

Added lines #L2 - L258 were not covered by tests

Check warning on line 212 in apps/web/src/app/[locale]/(dashboard)/[wsId]/billing/success/page.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

apps/web/src/app/[locale]/(dashboard)/[wsId]/billing/success/page.tsx#L2-L212

Added lines #L2 - L212 were not covered by tests

Check warning on line 38 in apps/web/src/app/[locale]/(dashboard)/[wsId]/layout.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

apps/web/src/app/[locale]/(dashboard)/[wsId]/layout.tsx#L38

Added line #L38 was not covered by tests

Check warning on line 386 in apps/web/src/app/[locale]/(dashboard)/[wsId]/layout.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

apps/web/src/app/[locale]/(dashboard)/[wsId]/layout.tsx#L380-L386

Added lines #L380 - L386 were not covered by tests

Check warning on line 27 in apps/web/src/app/api/[wsId]/[productId]/payment/route.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

apps/web/src/app/api/[wsId]/[productId]/payment/route.ts#L2-L27

Added lines #L2 - L27 were not covered by tests

Check warning on line 3 in apps/web/src/app/api/webhooks/route.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

apps/web/src/app/api/webhooks/route.ts#L2-L3

Added lines #L2 - L3 were not covered by tests

Check warning on line 10 in apps/web/src/app/api/webhooks/route.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

apps/web/src/app/api/webhooks/route.ts#L7-L10

Added lines #L7 - L10 were not covered by tests

Check warning on line 13 in apps/web/src/app/api/webhooks/route.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

apps/web/src/app/api/webhooks/route.ts#L12-L13

Added lines #L12 - L13 were not covered by tests

Check warning on line 18 in apps/web/src/app/api/webhooks/route.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

apps/web/src/app/api/webhooks/route.ts#L15-L18

Added lines #L15 - L18 were not covered by tests

Check warning on line 24 in apps/web/src/app/api/webhooks/route.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

apps/web/src/app/api/webhooks/route.ts#L21-L24

Added lines #L21 - L24 were not covered by tests

Check warning on line 29 in apps/web/src/app/api/webhooks/route.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

apps/web/src/app/api/webhooks/route.ts#L26-L29

Added lines #L26 - L29 were not covered by tests

Check warning on line 31 in apps/web/src/app/api/webhooks/route.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

apps/web/src/app/api/webhooks/route.ts#L31

Added line #L31 was not covered by tests

Check warning on line 40 in apps/web/src/app/api/webhooks/route.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

apps/web/src/app/api/webhooks/route.ts#L33-L40

Added lines #L33 - L40 were not covered by tests

Check warning on line 46 in apps/web/src/app/api/webhooks/route.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

apps/web/src/app/api/webhooks/route.ts#L43-L46

Added lines #L43 - L46 were not covered by tests

Check warning on line 54 in apps/web/src/app/api/webhooks/route.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

apps/web/src/app/api/webhooks/route.ts#L48-L54

Added lines #L48 - L54 were not covered by tests

Check warning on line 60 in apps/web/src/app/api/webhooks/route.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

apps/web/src/app/api/webhooks/route.ts#L56-L60

Added lines #L56 - L60 were not covered by tests

Check warning on line 68 in apps/web/src/app/api/webhooks/route.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

apps/web/src/app/api/webhooks/route.ts#L62-L68

Added lines #L62 - L68 were not covered by tests

Check warning on line 71 in apps/web/src/app/api/webhooks/route.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

apps/web/src/app/api/webhooks/route.ts#L71

Added line #L71 was not covered by tests

Check warning on line 76 in apps/web/src/app/api/webhooks/route.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

apps/web/src/app/api/webhooks/route.ts#L73-L76

Added lines #L73 - L76 were not covered by tests

Check warning on line 79 in apps/web/src/app/api/webhooks/route.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

apps/web/src/app/api/webhooks/route.ts#L78-L79

Added lines #L78 - L79 were not covered by tests

Check warning on line 95 in apps/web/src/app/api/webhooks/route.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

apps/web/src/app/api/webhooks/route.ts#L81-L95

Added lines #L81 - L95 were not covered by tests

Check warning on line 98 in apps/web/src/app/api/webhooks/route.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

apps/web/src/app/api/webhooks/route.ts#L97-L98

Added lines #L97 - L98 were not covered by tests

Check warning on line 109 in apps/web/src/app/api/webhooks/route.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

apps/web/src/app/api/webhooks/route.ts#L100-L109

Added lines #L100 - L109 were not covered by tests