Squadleader Dev  /  Work  /  KC Argentina

OPS-001

KC Argentina

A centre that was running its bookstore, its class calendar, its enrollment and its invoicing in four different places now runs them in one, and issues legally valid fiscal documents while it does it.

kcargentina.com Active Deploy Visit the live site →
The KC Argentina home page, in Spanish, showing the events hero and the week's featured class
Workers
8
Scheduled jobs
11
Catalog
280+
Languages
ES / EN

The problem

The Kabbalah Centre Argentina sells books, runs paid events, teaches recorded courses and enrolls students — and in Argentina every one of those transactions has to end in an electronic invoice authorised by the tax authority. Miss that step and the sale is not merely untidy, it is not legal.

Most platforms treat invoicing as a plugin. In Argentina it is not a plugin. It is a request signed with a fiscal certificate, exchanged for a CAE authorisation code, against a registered CUIT — and since December 2024 it runs under ARCA, the agency that replaced AFIP, with a mandatory QR code arriving in 2026.

What we built

  • One platform, four jobs. Bookstore, event management, on-demand classes and student enrollment share a single D1 database and one checkout path, rather than four systems reconciled by hand.
  • MercadoPago end to end — the payment rail Argentine customers actually use — with signed webhooks so a payment confirmation cannot be forged.
  • Fiscal invoicing built in. Certificate, clave fiscal and CUIT live as encrypted secrets; the invoice is requested at the moment the payment clears, not batched overnight.
  • Five satellite applications on their own subdomains for campaigns, intensives and enrollment forms, so a seasonal landing page never risks the main site.
  • Eleven scheduled jobs keeping catalog, enrollment and reporting current on hourly, daily, weekly, monthly and annual cycles — no server to restart, no cron box to forget.

What it means

The centre publishes in Spanish and English from one content model rather than maintaining two sites. Staff issue a fiscal invoice by selling something, not by typing into a second system afterwards. And the whole estate runs on Cloudflare's edge, which means there is no origin server to patch, scale or wake up.

Stack

Workers, D1, KV, R2, Workers AI, MercadoPago, AFIP / ARCA, Eventbrite, Cron Triggers