How Fianzza turned a Lovable-generated prototype into a live escrow platform with a 1.75% net margin
A full stack rebuild in 8 weeks that left Fianzza profitable on every transaction it processes.
At a glance
In short: Fianzza had a Lovable prototype that couldn't safely move real money. We rebuilt 14 systems in 8 weeks, and the platform now holds $2.7M+ in escrow at a 1.75% margin after fees and chargebacks.
| Client | Fianzza, an escrow and payments platform |
|---|---|
| Service | Vibe code rescue |
| Starting point | A prototype generated in Lovable |
| What we did | Rebuilt 14 systems for production, including the Stripe payments and payouts, the agreement lifecycle, disputes and chargebacks, notifications with about 80 emails in English and Spanish, and the admin tooling |
| Timeline | 8 weeks from prototype to production |
| Results | $2.7M+ held in escrow · 1.75% margin after fees and chargebacks |
| Stack | React, Vite, Supabase, Stripe, SEPA, iDEAL, Bancontact, Wero |
Last updated
The prototype worked until real money was involved
Fianzza is a fintech startup building an escrow platform that protects both sides of an online transaction, whether that's a freelance payment, a domain transfer, or the sale of a vehicle. Getting that trust right is the entire product.
Fianzza had a real idea and a market. An escrow platform that protects both sides of any online transaction, whether that is a freelance project, a domain transfer, or a vehicle purchase. The founder had used Lovable to get the product off the ground fast, and on the surface, it held up well enough to believe in.
The problem only became clear when real logic was applied. Payment states were unpredictable. Webhook handling was unreliable. Edge cases that any live platform would eventually hit had simply not been accounted for. These are the kinds of problems that don't show up in a demo but will absolutely surface the first time a buyer deposits real money.
The founder needed someone to honestly review the codebase and rebuild it into something that could actually go live.
The full-stack rebuild that made real transactions possible
The first step was not writing new code. It was mapping exactly what existed, what was structurally unsound, and what needed to be rebuilt before anything new could be added safely. From there, Agent Loopr worked across the full stack in a deliberate order.
The complete Stripe integration was rebuilt. This covered payment intent creation, webhook handling, dispute resolution, chargeback logic, and payout timing. Seven payment methods were integrated, including SEPA, iDEAL, Bancontact, and EPS, so the platform could serve buyers and sellers across multiple countries without gaps. The transaction ledger and balance system were rebuilt alongside, giving every payout and withdrawal a clear, traceable record.
SEPA, iDEAL, Bancontact, EPS and more, across multiple countries.
The full agreement workflow was rebuilt from creation and acceptance through delivery confirmation, milestone approvals, and payment release. Every state transition was deliberate and testable, with nothing able to move forward without the right conditions being met.
Every transition runs explicit checks first.
Every dispute flow was built and hardened with a defined process that applied consistently regardless of which party raised the dispute. Resolution logic, admin and broker access, chargeback states, and SEPA refund handling were all covered.
Applied the same way regardless of who raises the dispute.
The full in-app notification system was built to trigger the right communication to the right person at every platform event. Approximately 80 email templates were written in English and Spanish, covering every scenario a buyer, seller, broker, or admin would encounter.
Covers every buyer, seller, broker, and admin event, in English and Spanish.
Logic was consolidated into shared libraries, and hardcoded values were moved to backend rules. Typed helpers were added, error handling was improved throughout, and the overall structure across hooks, components, and edge functions was cleaned up, allowing the codebase to be extended without introducing new fragility.
Moved to backend rules; logic consolidated into shared libraries.
What did rebuilding the payment system actually deliver for Fianzza?
8 weeks to a production-ready platform
Fianzza moved from a Lovable-generated prototype to a fully operational escrow platform in two months. Every core system was rebuilt and tested. Real users and real transactions could now move through the platform safely.
14 systems rebuilt across the full product stack
Every system that touched a transaction was addressed. The agreement lifecycle, payout ledger, notification engine, and admin tooling were all rebuilt from the ground up. Nothing was patched. Everything was replaced.
7 payment methods integrated and live
SEPA, iDEAL, Bancontact, EPS, and additional country-specific methods were all integrated. Buyers and sellers across multiple countries could now complete transactions without hitting payment method dead ends.
1.75% net margin held on every transaction
The escrow and Stripe setup was engineered to keep Fianzza profitable on every transaction it processes. Stripe fees, chargebacks, and payout logic were all accounted for so the margin holds regardless of how a transaction resolves.
A codebase built to last
Logic was consolidated, rules moved to the backend, and the structure cleaned up so the platform can be tested, extended, and maintained without accumulating new fragility.
$2.7M+ held in escrow
The rebuilt platform now holds more than $2.7M in escrow, on the payment, payout and agreement systems rebuilt during the engagement.
Working with Agent Loopr has been a genuinely great experience from start to finish. Every time a challenge came up, they came back with solutions, not excuses. Their commitment goes well beyond the scope of any milestone. This is not the first time we've worked together, and it certainly won't be the last. Highly recommended.
Tools and technologies
used on this project
Frontend
A fast client that transmits inputs and renders state, never the money logic.


Backend & Data
A typed service layer with deliberate, testable state transitions.

Payments
One escrow flow across seven methods, with webhooks and refunds handled.





One coherent stack: payments, agreements, and disputes, rebuilt to clear real money.
Questions about this project
Can an app built with Lovable handle real money?
Yes, once it's been hardened. Fianzza started as a Lovable prototype and now holds $2.7M+ in escrow after we rebuilt 14 systems for production.
How long did it take to get Fianzza to production?
8 weeks from prototype to production.
Did Fianzza have to start again from scratch?
No. Fianzza was a vibe-coded app that was broken, and we got it production ready without starting again. We first mapped what the Lovable build already had and what was structurally unsound. Every system that touched a transaction was rebuilt from the ground up, and the rest of the codebase was restructured and cleaned up rather than thrown away.
