6 Commits

Author SHA1 Message Date
Automated Action
d3ae71d51e Add email-validator dependency to fix EmailStr validation
- Added email-validator==2.1.0 to requirements.txt
- Fixes ImportError when using EmailStr from Pydantic
- Resolves application startup failure due to missing email validation dependency
2025-06-20 13:05:00 +00:00
Automated Action
b9bd7fcf3a Add environment variable loading and Stripe configuration endpoints
- Added dotenv loading in main.py to read .env file
- Enhanced health check endpoint to show Stripe and webhook configuration status
- Added /config/stripe endpoint to safely expose publishable key for frontend
- Environment variables are now properly loaded from .env file
- Added status indicators for proper configuration verification
2025-06-20 13:00:55 +00:00
Automated Action
2b3f1e32c7 Add missing __init__.py files for proper module imports
- Added app/__init__.py for main app module
- Added app/services/__init__.py for services module
- Ensures proper Python package structure
2025-06-20 12:37:10 +00:00
Automated Action
a8b6d5b972 Fix SQLAlchemy reserved attribute error
- Renamed 'metadata' column to 'payment_metadata' in Payment model
- Updated database migration to use new column name
- Updated StripeService to use payment_metadata field
- Fixed application startup issue caused by reserved attribute name
2025-06-20 12:30:47 +00:00
Automated Action
f2b2889ea1 Implement complete Stripe payment integration service
- Created FastAPI application with Stripe payment processing
- Added payment intent creation, retrieval, and webhook handling
- Implemented SQLite database with payments and payment_methods tables
- Set up Alembic for database migrations
- Added comprehensive API endpoints for payment management
- Configured CORS middleware for cross-origin requests
- Added health check and service information endpoints
- Created complete project documentation with setup instructions
- Integrated Ruff for code formatting and linting
2025-06-20 12:23:34 +00:00
Automated Action
8b20474774 Initial commit from template 2025-06-20 12:17:56 +00:00