My Replit-hosted app uses Stripe Platform with Connected Accounts to take a pro-rata payment (remaining lessons for the month plus a £25 membership fee) and, when required, skim a 12 % management fee back to the franchisor account. The money flows exactly as intended into the Connect ID and the platform fee logic also works—yet no Stripe Subscription is being created afterward, so the customer never enters an active billing cycle. I’m not sure whether the failure sits in the API call, the webhook flow, or something else inside the codebase. I need a fresh set of eyes to trace the entire flow, pinpoint the break, and implement a solid fix so that every successful checkout automatically spins up the correct recurring subscription. Deliverables • Identify the precise point where subscription creation stops • Patch or refactor the relevant code / webhook handler so the Subscription object is reliably generated • Demonstrate end-to-end success in test mode (pro-rata charge, 12 % fee transfer, active subscription) • Provide a short summary of what was changed for future reference You’ll be working directly in the Replit environment (live share link provided once we start) and using Stripe’s latest Node/Python SDK—whatever matches the existing stack. If you’ve debugged Stripe Connect flows before, this should be straightforward. Let’s get this subscription firing correctly today.