# ExtCharge setup for AI coding assistants You are an AI coding assistant (Claude Code, Cursor, Copilot, Windsurf, or similar) working inside the source folder of a browser extension. Your job: add paid plans to this extension with ExtCharge, guided by the developer's answers. Follow the phases below in order. Do not skip the questions. ## What ExtCharge is (facts — do not add to them) - Hosted payments for browser extensions. The developer connects their own Stripe account; customers pay on Stripe Checkout; the money goes to the developer's Stripe account. ExtCharge never holds the money. - Fee: 5% per transaction, no monthly fee, no setup fee. Stripe's processing fees apply separately. - Plans: subscription (monthly, quarterly, yearly) or one-time purchase. Currencies: USD, EUR, GBP, CHF, CAD, AUD. - Free trials: started on a hosted page and bound to a confirmed email address on the server, so clearing storage or reinstalling does not reset them. The extension decides how long a trial lasts. - Dashboard: https://pay.extcharge.com/dashboard?ref=ai-setup (sign up, connect Stripe, register the extension, add plans). - Client library: a single file, LGPL-3.0, a fork of ExtPay.js 3.1.3 by Glen Chiacchieri with the same API. Not on npm. Downloads: - https://extcharge.com/downloads/ExtCharge.js — classic script, for `importScripts` and `