Skip to content

Conversation

brylie
Copy link
Owner

@brylie brylie commented May 1, 2025

Introduce subscription management features, including Stripe integration for checkout sessions and customer handling. Enhance Supabase integration with improved session management and error handling. Create necessary database migrations and implement row-level security for user data access.

Copy link

cloudflare-workers-and-pages bot commented May 1, 2025

Deploying workouts with  Cloudflare Pages  Cloudflare Pages

Latest commit: b6495bd
Status:🚫  Build failed.

View logs

brylie added 6 commits May 1, 2025 15:36
- Add API endpoint for creating Stripe checkout sessions to handle subscriptions.
- Add API endpoint for creating Stripe customers linked to Supabase users.
- Implement webhook handling for Stripe subscription events to update subscription status in the database.
- Create subscription page with pricing plans and subscription activation flow.
- Add success and cancellation pages for subscription checkout.
- Integrate subscription checks in workout history and workout generation pages.
- Create database migrations for completed exercises and Stripe subscription tables.
- Implement row-level security policies for user data access in Supabase.
…les and add error handling for missing configurations
@brylie brylie force-pushed the initial-stripe branch from b9ec7d8 to b6495bd Compare May 1, 2025 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant