Koncept Kit
|
9754f2db6e
|
1. Models (backend/models.py)- Added PaymentMethodType enum (card, cash, bank_transfer, check)- Added stripe_customer_id column to User model- Created new PaymentMethod model with all fields specified in the plan2. Alembic Migration (backend/alembic/versions/add_payment_methods.py)- Creates payment_methods table- Adds stripe_customer_id to users table- Creates appropriate indexes3. API Endpoints (backend/server.py)Added 12 new endpoints:Member Endpoints:- GET /api/payment-methods - List user's payment methods- POST /api/payment-methods/setup-intent - Create Stripe SetupIntent- POST /api/payment-methods - Save payment method after setup- PUT /api/payment-methods/{id}/default - Set as default- DELETE /api/payment-methods/{id} - Remove payment methodAdmin Endpoints:- GET /api/admin/users/{user_id}/payment-methods - List user's methods (masked)- POST /api/admin/users/{user_id}/payment-methods/reveal - Reveal sensitive details (requires password)- POST /api/admin/users/{user_id}/payment-methods/setup-intent - Create SetupIntent for user- POST /api/admin/users/{user_id}/payment-methods - Save method on behalf- POST /api/admin/users/{user_id}/payment-methods/manual - Record manual method (cash/check)- PUT /api/admin/users/{user_id}/payment-methods/{id}/default - Set default- DELETE /api/admin/users/{user_id}/payment-methods/{id} - Delete method4. Permissions (backend/permissions_seed.py)Added 5 new permissions:- payment_methods.view- payment_methods.view_sensitive- payment_methods.create- payment_methods.delete- payment_methods.set_default
|
2026-01-31 01:03:17 +07:00 |
|
Koncept Kit
|
d3a0cabede
|
- Details Column - Expandable chevron button for each row- Expandable Transaction Details - Click chevron to show/hide details- Payment Information Section:- Stripe Transaction IDs Section- Copy to Clipboard - One-click copy for all transaction IDs- Update Stripe webhook event permission on Stripe Config page.
|
2026-01-20 23:51:38 +07:00 |
|
Koncept Kit
|
e938baa78e
|
- Add Settings menu for Stripe configuration- In the Member Profile page, Superadmin can assign new Role to the member- Stripe Configuration is now stored with encryption in Database
|
2026-01-16 19:07:58 +07:00 |
|
Koncept Kit
|
2b82f4acd8
|
Alembic migration for synchronize Database
|
2026-01-05 21:13:49 +07:00 |
|
Koncept Kit
|
cca694766b
|
Alembic fix for PROD
|
2026-01-05 17:29:41 +07:00 |
|
Koncept Kit
|
0171546bba
|
Database Migration fix
|
2026-01-05 17:24:57 +07:00 |
|
Koncept Kit
|
96aca7d39b
|
Alembic Database fix
|
2026-01-05 17:15:16 +07:00 |
|
Koncept Kit
|
82319509c3
|
Alembic Database fix
|
2026-01-05 17:06:32 +07:00 |
|
Koncept Kit
|
2547758864
|
Database fix
|
2026-01-05 16:56:38 +07:00 |
|
Koncept Kit
|
669d78beb5
|
Fix migration 010: add column existence check for email_verification_expires
|
2026-01-05 13:56:37 +07:00 |
|
Koncept Kit
|
df789612e8
|
Fix migrations 004-006: add column existence checks to prevent duplicate column errors
|
2026-01-05 11:50:26 +07:00 |
|
Koncept Kit
|
9266521bf1
|
Fix migration 003: add column existence checks to prevent duplicate column errors
|
2026-01-05 02:43:15 +07:00 |
|
Koncept Kit
|
c8f4040244
|
Fix migration 002 - skip existing columns
|
2026-01-05 02:30:54 +07:00 |
|
Koncept Kit
|
c848d4240a
|
Add missing email_verification_expires column
|
2026-01-05 02:28:47 +07:00 |
|
Koncept Kit
|
340f838925
|
Add comprehensive column check and migration 009
|
2026-01-04 23:19:05 +07:00 |
|
Koncept Kit
|
d967d1934e
|
Add missing donations table columns
|
2026-01-04 23:09:28 +07:00 |
|
Koncept Kit
|
03ae921a5f
|
Fix migration 007 - skip existing columns
|
2026-01-04 23:05:32 +07:00 |
|
Koncept Kit
|
d5f2373143
|
Add missing subscription_plans columns
|
2026-01-04 23:01:20 +07:00 |
|
Koncept Kit
|
7ad5bfb1e5
|
Fix subscription_plans.is_active column name
|
2026-01-04 22:56:56 +07:00 |
|
Koncept Kit
|
53bf84ba57
|
Subscription and Storage data mismatch
|
2026-01-04 22:26:33 +07:00 |
|
Koncept Kit
|
25b1cb916a
|
Subscription and Storage data mismatch
|
2026-01-04 22:22:37 +07:00 |
|
Koncept Kit
|
cd8b4dcaa6
|
Fix database mismatches
|
2026-01-04 22:16:35 +07:00 |
|
Koncept Kit
|
efc2002a67
|
Fix database mismatches
|
2026-01-04 22:01:26 +07:00 |
|
Koncept Kit
|
6ec0745966
|
Prod Deployment Preparation
|
2026-01-04 19:08:54 +07:00 |
|