Mefllow

Project Journal

Development changelog and version history

Current Version

v2.0.1

Stripe Connected โ€” Card Checkout Replaces Banco Inter

August 24, 2026
STRIPE LIVE PAYMENTS
August 2026
v2.0.1
Latest
Feature

Stripe Connected โ€” Card Checkout Replaces Banco Inter

August 24, 2026
๐Ÿ’ณ NEW: Payments now run on Stripe Checkout in live mode โ€” real card payments accepted
๐Ÿšซ REMOVED: Banco Inter Pix/boleto flow โ€” the runtime no longer supports mTLS / client certificates required by their API
๐Ÿ”— FLOW: Subscribing creates a BRL Checkout Session; the dialog opens Stripe's hosted page in a new tab
๐Ÿ›ก๏ธ SAFETY: Checkout is blocked inside the preview iframe with a clear message to use the published app
๐Ÿงพ SIMPLER: CPF/payer form removed from the payment dialog โ€” Stripe collects payment details
โ™ป๏ธ UNCHANGED: Prices, coupons, prorated upgrades, trials, and activation logic remain server-side and identical

Key Features

Stripe Checkout Integration

One-time BRL Checkout Sessions replace Inter charges, with all money logic untouched

  • โ€ขgeneratePaymentOrder creates the Checkout Session and stores session id + hosted URL on the order
  • โ€ขPaymentOrder gained checkout_url and the 'Stripe' payment method
  • โ€ขcheckPaymentStatus retrieves the session and maps paid โ†’ Pago, expired โ†’ Expirado, otherwise Pendente
  • โ€ขSession metadata carries base44_app_id for platform transaction tracking
  • โ€ขSuccess and cancel URLs point to /AssinaturaSucesso and /Assinatura on the published app
Payment Dialog Rework

The dialog is now a short redirect step instead of a boleto/Pix panel

  • โ€ขRemoved payer name/CPF form, Pix QR code, digitable line, and barcode UI
  • โ€ขSingle 'Pay with card' button opening Stripe's secure hosted page in a new tab
  • โ€ขIframe detection blocks checkout inside the builder preview
  • โ€ขOrder status keeps polling every 5 seconds until payment is confirmed
  • โ€ขTrial and fully-discounted coupon activations still complete instantly with no charge
Banco Inter Deprecation

The mTLS-based bank integration is no longer part of the payment path

  • โ€ขDeno.connectTls and client certificates are blocked in backend functions, making manual mTLS impossible
  • โ€ขinterClient.js and interDiag remain in the codebase but are unused by the subscription flow
  • โ€ขSupport ticket filed with Base44 documenting the lost capability

Technical Changes

  • โ†’Created shared/stripeClient.js: createStripeCheckout, getStripeSession, mapStripeStatus over the Stripe REST API
  • โ†’Modified functions/generatePaymentOrder: replaced createInterCharge with Stripe Checkout Session creation
  • โ†’Rewrote functions/checkPaymentStatus: Stripe session polling with the same activation and coupon accounting
  • โ†’Rewrote components/subscription/PaymentDialog.jsx: redirect-based checkout with iframe guard
  • โ†’Modified entities/PaymentOrder: added checkout_url and 'Stripe' to metodo_pagamento
  • โ†’Updated i18n subscription translations (pt/en/es): card payment labels and iframe warning
  • โ†’Updated Technical Docs: new Stripe Checkout block in Subscriptions & Payments

Stripe (live)

Payment Gateway

2

Backend Functions Updated

1

New Shared Modules

0

Business Logic Changes

1

Deprecated Integrations

v2.0.0
Major Release

Public Launch ๐Ÿš€ โ€” Subscriptions, Admin Panel & Data Science

August 18, 2026
๐ŸŒ LIVE: TableSense is now publicly available for new users to sign up and test
๐Ÿ’ณ NEW: Assinatura (Subscription) module โ€” Bronze/Prata/Ouro tiers, monthly/annual billing, Pix & boleto via Banco Inter
๐ŸŽŸ๏ธ COUPONS: Full coupon engine with percentage, fixed-amount, and free-trial discounts, welcome coupons, and per-user limits
๐Ÿ›ก๏ธ NEW: Admin Panel โ€” user management, payments, coupons, audit log, and business overview with role-based access
๐Ÿ”ฌ NEW: Data Science module โ€” funnel, cohorts, conversion, behavior, risk, and segment explorer for product analytics
โœ… QUALITY: Extraction quality monitoring โ€” named expectations, strict pt-BR parsing checks, estimated recall, and failure categorization on rejection
โฐ AUTOMATION: Scheduled workflows for expiring payment orders and downgrading lapsed subscriptions
March 2026
v1.9.0
Feature

Bench Simulator - Calculation Validation Module

March 13, 2026
๐Ÿงฎ NEW: Bench Simulator page for concept explanation, formula demonstration, and live calculation testing
๐Ÿ“š COVERAGE: 7 bench topics covering Total, Total Item Taxes, Item Costs, IRRF Item, Gross Cost, Total w/ Cost, and IRRF Below 1.00
โš–๏ธ SCENARIOS: Weighted presets for Single line, C/C, V/V, and C/V cases
๐Ÿงญ NAVIGATION: Added dedicated sidebar entry and explicit route for the new validation module
๐Ÿ“ DOCS: Technical Docs and Project Journal updated to v1.9.0
v1.8.0
Hotfix

Delete Fixes & Proportional Calculation Scoping by Extraction ID

March 12, 2026
๐Ÿ”ง FIXED: Individual transaction delete button now works (SDK version upgraded to 0.8.20)
๐Ÿ—‘๏ธ NEW: 'Delete Group' button (ร—) on grouped note rows deletes all transactions in a note
๐Ÿ”„ RESET: Group deletion also resets DocumentExtraction.is_processed_to_brokerage_data flag for re-approval
๐Ÿงฎ FIXED: updateBrokerageTransaction now scopes proportional calculations by original_extraction_id + nr_nota
๐Ÿ› ROOT CAUSE: Duplicate nr_nota from different extractions caused incorrect sumOfAllTotals in proportional cost allocation
February 2026
v1.7.0
Feature

Landing Page - Public Product Showcase with Login/Sign-Up Integration

February 26, 2026
๐ŸŒ NEW: Full landing page showcasing TableSense features and capabilities
๐ŸŽจ HERO: Professional hero section with dashboard mockup preview and trust metrics
๐Ÿ“‹ FEATURES: 6-card feature grid covering PDF extraction, consolidation, multi-client, market data, export, and security
๐Ÿ”„ HOW IT WORKS: 4-step visual process (Upload โ†’ Extract โ†’ Approve โ†’ Export)
๐Ÿ“„ DOCUMENTS: Supported document types section (bank statements, investment reports, credit cards, brokerage orders)
๐Ÿ”— CTA: Multiple sign-in/sign-up call-to-action buttons linking to Base44 authentication
๐Ÿข FOOTER: Updated footer with product links, access buttons, and Mefllow branding
๐Ÿ“ฑ RESPONSIVE: Fully responsive design for mobile and desktop
January 2026
v1.6.0
Feature

Statement Data UX Overhaul - Interactive 3-Step Selection Flow with File Picker

January 12, 2026
๐ŸŽฏ NEW FLOW: 3-step wizard (Broker โ†’ File โ†’ Table Types) replaces auto-load
๐Ÿ“ FILE PICKER: Step 2 lets users select specific uploaded file before choosing tables
๐ŸŽจ THEMED UI: Broker cards use matching colors from Upload PDF (Bradesco: Red, Safra: Yellow, Santander: Orange)
๐ŸŒ LANGUAGE TOGGLE: Moved to top-right as PT/EN switch (no longer a selection step)
๐Ÿ“Š SMART COUNTS: Shows available table counts from approved extractions per broker
โšก PERFORMANCE: Only loads selected entities (not all 15) - faster and more efficient
โœจ VISUAL FEEDBACK: Selected broker highlights cards, tables, and buttons with brand color
December 2025
v1.5.2
Hotfix

Phase 5 Hotfix - Date Field Validation Fix

December 23, 2025
โœ… FIXED: Approve button now working - date validation errors resolved
๐Ÿ”ง ROOT CAUSE: Date fields extracted as Excel serial numbers (e.g., 57188.72) instead of YYYY-MM-DD strings
๐ŸŽฏ SOLUTION: Implemented toISODateStringOrNull() helper for robust date parsing in all 3 processors
๐Ÿ’พ VERIFIED: Statement Data now persists and displays after approval
๐Ÿ“Š COMPLETE: Both RLS and date validation issues resolved - Phase 5 fully operational
v1.5.1
Hotfix

Phase 5 Hotfix - RLS Fix for Consolidated Entity Creation

December 23, 2025
๐Ÿ”’ FIXED: Consolidated data not persisting after processing due to RLS permissions
โœ… SOLUTION: Changed bulkCreate to use user-scoped client for all 15 consolidated entities
๐ŸŽฏ DIAGNOSIS: Entities with created_by RLS need user-scoped creation (same fix as v1.0.3)
๐Ÿ“Š IMPACT: Statement Data page should now display approved broker statement data
v1.3.0
Feature

Financial Consolidation Module - Phase 2: Navigation & Entity Setup

December 23, 2025
โœจ NEW: Added 'Statement Data' navigation item to sidebar menu
๐Ÿ“Š CREATED: 15 new consolidated statement entities (Bradesco: 4, Safra: 8, Santander: 3)
๐Ÿ’ฐ ENHANCED: BrokerageTransaction entity now includes ISO 4217 currency field (default: BRL)
๐Ÿ—๏ธ PREPARED: DocumentExtraction entity updated with is_processed_to_consolidated_data flag
๐ŸŽฏ PLACEHOLDER: Created Statement Data page stub for upcoming development
v1.5.0
Feature

Phase 5 Complete - Statement Data Dynamic UI

December 23, 2025
๐ŸŽจ NEW PAGE: Statement Data with dynamic entity fetching and display
๐Ÿ” FILTERS: Broker, table type, and statement date filtering
๐Ÿ“Š DISPLAY: Automatic table rendering with smart column formatting
๐Ÿ’ฐ FORMATTING: Currency, percentage, and date fields auto-detected and formatted
๐Ÿ“ˆ STATS: Real-time record count and table count display
v1.4.2
Hotfix

Phase 4 Complete - RLS Fix for Statement Approval

December 23, 2025
โœ… FIXED: RLS permission error blocking DocumentExtraction status updates
๐Ÿ”’ SOLUTION: Changed from asServiceRole to user-scoped client for updates
๐ŸŽฏ VERIFIED: All table titles correctly matched and records created successfully
๐Ÿ“Š CONFIRMED: 122 Bradesco records created across 4 tables before fix
๐Ÿš€ READY: Phase 4 backend integration now fully operational
v1.4.1
Hotfix

Phase 4 Debug - Enhanced Logging & Error Tracking

December 23, 2025
๐Ÿ” ENHANCED: Comprehensive debug logging in all 3 backend processing functions
๐Ÿ“‹ LOGS: Now showing extraction metadata, table titles, and mapping results
โœ… TRACKING: Success/skip indicators for each table processed
๐Ÿ“Š SUMMARY: Processing summary with total records created and tables processed/skipped
๐ŸŽฏ DIAGNOSIS: Logs will reveal exact table title mismatches causing approval failures
v1.4.0
Feature

Financial Consolidation Module - Phase 4: Backend Integration

December 23, 2025
๐Ÿ”— INTEGRATED: Approval flow now routes to broker-specific processing functions
๐Ÿ—๏ธ BACKEND: Created 3 processing functions for Bradesco, Safra, and Santander statements
๐Ÿ’พ AUTOMATED: Extractions automatically populate consolidated entities on approval
๐ŸŽฏ SMART ROUTING: Approval mutation intelligently detects extraction type and calls correct processor
โœ… COMPLETE: End-to-end flow from PDF upload โ†’ extraction โ†’ approval โ†’ consolidated data storage
v1.2.0
Feature

Major UI/UX Overhaul & Bulletproof IRRF Extraction

December 20, 2025
๐Ÿšจ CRITICAL FIX: Enhanced IRRF extraction with two-part validation (Base Amount + Actual IRRF)
โœ… VALIDATION: Backend now validates IRRF > 0 when C/V='V' OR IRRF_Base_Amount > 0
๐ŸŽจ UI REFRESH: Removed Mefllow logo from all page titles for cleaner interface
๐Ÿ“‹ LIST VIEW: Compact columns (text-[10px]), checkbox on right, broker/amount/actions columns added
๐ŸŽฏ TILE VIEW: Better button alignment, show broker/amount for approved extractions
๐Ÿ“Š DETAIL POPUP: Data type icons (๐Ÿ’ฒ, %, #) in headers with text-[10px] font
๐Ÿ’ฐ MODAL FIX: QTY as number input, shortened labels (D/C, TaxaLiq, TaxaTransf, IRRF<1.00)
๐Ÿ“ INPUT FIX: Currency fields now correctly handle Brazilian decimal (comma) input

Complete Technical Documentation

For detailed technical specifications, architecture details, and API references, visit the Technical Docs page.

Powered byMefllowMefllow