Design plan migration page with email lookup#193
Open
Jacbdias wants to merge 2922 commits intodevias-io:mainfrom
Open
Design plan migration page with email lookup#193Jacbdias wants to merge 2922 commits intodevias-io:mainfrom
Jacbdias wants to merge 2922 commits intodevias-io:mainfrom
Conversation
added 30 commits
December 9, 2025 15:48
…-api-project-rsd8c4 Restore auth cache handlers and config declarations
…tigation-and-analysis Improve notification stream unauthorized handling
…n-for-calls Permitir configurar lotes na garantia das CALLs
…r-users Fix auth me response structure
…ost-audit Secure PDF generation and tighten Instagram signup
…ost-audit-jit5dy Add pagination and async jobs to proventos API
…a-on-dashboard-jz9e27 Fix admin users pagination: use PAGE_SIZE constant and load all pages on open
Fix last updated timestamp on admin users page
Staged loading for admin users list (show first page immediately)
Cache admin users list in sessionStorage and add refresh button
Cache admin users only when complete
…m-purchases Normalize and persist buyer phone from Hotmart/Kiwify/Eduzz webhooks
…rios-no-dashboard Refresh cached admin users list when stale
…-integrations-page Compute integration stats from completed purchases (fix totals)
Implemented a complete system for migrating customers from LITE to VIP plan with automatic calculation based on remaining months and payment method tracking. Features: - Payment method tracking (credit card, PIX, boleto, etc.) - Installment information capture - Platform origin tracking (HOTMART, KIWIFY, EDUZZ) - Automatic migration calculation with proportional discount - Complete admin interface for processing migrations - Migration history tracking Database Changes: - Added paymentMethod, installments, and platform fields to Purchase model - Created PlanMigration model for tracking migration history API Endpoints: - GET /api/admin/migracao-plano/calcular - Calculate migration value - POST /api/admin/migracao-plano/processar - Process migration Files Modified: - prisma/schema.prisma - New fields and PlanMigration model - src/app/api/webhooks/hotmart/[id]/route.ts - Capture payment data - src/app/api/webhooks/kiwify/[token]/route.ts - Capture payment data - src/app/api/webhooks/eduzz/[token]/route.ts - Capture payment data Files Created: - src/lib/payment-normalization.ts - Payment method normalization utilities - src/app/api/admin/migracao-plano/calcular/route.ts - Migration calculation API - src/app/api/admin/migracao-plano/processar/route.ts - Migration processing API - src/app/dashboard/admin/migracao-plano/page.tsx - Admin migration interface - MIGRATION_INSTRUCTIONS.md - Database migration instructions
|
@claude is attempting to deploy a commit to the Devias Team on Vercel. A member of the Team first needs to authorize it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.