Inspiration

Subscriptions do not fail loudly. A price goes up by four dollars, a second music app sneaks in, a yearly plan renews for something you stopped opening a year ago. The only moment you can act is the few days before renewal. Lapse is built for that moment.

What it does

  • Lists your subscriptions by renewal date, with a monthly total, what is due in 30 days and a 30-day renewal timeline.
  • Check my subscriptions: Gemini reads each charge history and last-used date and flags a price rise, a duplicate service or a forgotten subscription, with a plain-language reason.
  • Draft a cancellation (or keep note): Gemini writes a short email you can edit. Lapse never sends anything. You send it from your own email.
  • Add with PayPal: creates a real product, plan and subscription in the PayPal Sandbox. After a sandbox buyer approves it, Lapse reads status, next billing date and last payment from PayPal and marks it Verified by PayPal. Only verified rows can be cancelled, through the PayPal Subscriptions API.

How I built it

PayPal: Subscriptions API in the Sandbox (product, plan, subscription, approval, status, cancel) plus signed-webhook verification. The Sandbox base URL is fixed in code, so it can never touch real money. AI: Gemini proposes flags and writes drafts. Plain code checks every flag against the real numbers, drops anything unsupported, calculates the savings and decides which actions are allowed. If Gemini is rate-limited or missing, Lapse falls back to code-only checks and says so. Also: React, TypeScript, Vite, Express, SQLite, rate limits, input checks, friendly one-line errors. The launch video and its music were generated from code.

Challenges

Keeping the AI honest (every flag must be backed by numbers). Designing around PayPal's human approval step. A demo reset once deleted a real Sandbox row, so reset now only touches hand-added demo rows.

What I learned

The most useful AI feature here is restraint: read, explain in plain words, and leave the decision to the person.

What's next

Email receipt import, bank-feed matching, calendar reminders, a hosted demo.

Built With

Share this project:

Updates

Submission history