b8d9f5cf87
Refactor VerifyPaymentView to include checks for payment status and user authorization. Update logging level in settings.py to suppress certain logs during testing. Add comprehensive tests for device management in DeviceAPITestCase.
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 2m23s
2025-04-11 17:06:28 +05:00
10b3800171
Refactor VerifyPaymentView to improve wallet payment handling and response messages. Remove redundant insufficient funds check and enhance failure message clarity.
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 2m51s
2025-04-11 00:41:44 +05:00
f8253d572d
Enhance VerifyPaymentView with user authorization check, streamline payment verification process, and improve response messages. Update settings.py for consistent formatting and clarity in PASSWORDLESS_AUTH configuration.
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 2m53s
2025-04-10 21:50:21 +05:00
9595476569
Refactor UpdatePaymentSerializer to include only number_of_months field, add DeletePaymentView for payment deletion, and enhance VerifyPaymentView with payment_id lookup. Introduce pending_payment_id field in DeviceSerializer to track unpaid payments.
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 2m18s
2025-04-08 21:38:43 +05:00
c3abdd8e34
Add has_a_pending_payment field to Device model and update related views for payment handling
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 2m38s
2025-04-07 22:24:52 +05:00
2368ff408a
Add number_of_months field to UpdatePaymentSerializer and implement validation in UpdatePaymentAPIView
2025-04-05 22:38:08 +05:00
b87dcfaf26
Add UpdateUserWalletView and CustomUserByWalletBalanceSerializer for wallet balance updates
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 2m12s
2025-04-05 20:53:06 +05:00
93e50b696c
Add PaymentDetailAPIView for retrieving payment details and update URL routing
2025-04-05 18:58:12 +05:00
02f680d579
Refactor payment views: rename CreatePaymentView to ListCreatePaymentView, add payment retrieval endpoint, and enhance queryset filtering for user-specific payments.
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m15s
2025-04-05 17:23:18 +05:00
80e388a2a0
Refactor CreatePaymentView to improve device retrieval logic by using filter instead of get_object_or_404, enhancing error handling for non-existent devices.
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 2m34s
2025-04-05 16:14:28 +05:00
d386c7e37c
Add device existence check in CreatePaymentView to handle invalid device IDs
2025-04-05 16:10:24 +05:00
f6f77bb0e5
Add wallet balance to User model and implement Atoll/Island management
...
- Added `wallet_balance` field to the User model.
- Updated UserAdmin to include `wallet_balance` in the admin interface.
- Created serializers and views for Atoll and Island management.
- Implemented endpoints for listing, creating, and updating Atolls and Islands.
- Enhanced payment processing with UUIDs for Payment and Topup models.
- Added migration files for new fields and constraints.
- Improved error handling and validation in various views.
- Updated email templates for better responsiveness and SEO.
2025-01-20 20:59:16 +05:00
4d0eb86478
Initial commit
2025-01-20 14:33:03 +05:00