mustapha muhsin

Lifeline

independent project/full stack // payment reliability & AI
TypeScriptNext.jsPostgreSQLPayPal SandboxOpenAIWebhooksVitest

the problem

A small nonprofit can miss a failed recurring donation or struggle to understand what happened. I built Lifeline around a fictional food bank to show how payment events, agent assistance, and staff decisions can work together.

what i built

Signature-verified PayPal webhooks open a rescue when a sandbox gift fails. A read-only agent checks the subscription and payment history, then explains the issue and suggests available actions. A person chooses and approves any payment change or donor note.

reliability

The action path claims each write before calling PayPal to prevent duplicate work. When a response is lost, it reads PayPal state again before reporting the outcome. Tests exercise refusals, timeouts, second clicks, and other failure paths with a fake PayPal response layer.

scope

The demo uses fictional donors and PayPal Sandbox. It does not move real money. The codebase is independently owned and currently private.