Closed colburncodes closed 7 months ago
The update introduces significant changes to enhance the Lemon Squeezy integration. It includes adding validation for environment variables, introducing new API endpoints for handling lemon-related requests securely, and implementing functionality to manage orders efficiently within the system.
Files | Change Summaries |
---|---|
src/env.mjs |
Added validation for UPLOADTHING_APP_ID length; Added declarations for LemonSqueezy environment variables |
src/pages/api/lemon/... |
Introduced API endpoint for lemon-related requests; Added utilities for webhook validation and response |
db/migrations/20240303004700_lemon_squeezy_orders/migration.sql |
Added schema modifications for managing orders efficiently within the system |
db/schema.prisma |
Updated schema with new fields and relations for managing LemonSqueezy orders and user access |
src/features/payments/... |
Implemented functionality for generating checkout links and setting up a LemonSqueezy client |
src/modals/components/BecomeProModal.tsx |
Updated modal content and logic for handling user access status and triggering checkout flow |
src/utils/utils.ts |
Added functions for JSON manipulation, device detection, and URL handling |
🐰🍋 In the realm of code and lemonade dreams, A rabbit hopped through complex schemes. With orders managed and payments secure, It crafted a solution, stable and pure. 🌟🍋🐇
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
baseline payment webhook started
Summary by CodeRabbit
UPLOADTHING_APP_ID
to ensure a minimum length.