Cart SDK

~2KB, zero dependencies
npm or CDN
Redirect or embedded checkout
Early access




trusted by
+4000 creators
across
44 countries
The hosted-checkout problem
From product to paid, in your code
The buying experience lives on your site; COPE runs the rails behind it.
What the SDK gives you
01 – Stays on your domain
Redirect or embed, the buyer never lands on a COPE-branded page. The experience you designed is the experience they get.
02 – Light and dependency-free
~2KB gzipped, zero dependencies, installed from npm or dropped in from a CDN. No framework, no bloat.
03 – The hard parts handled
Cart state, multi-currency pricing, tax-aware totals, promo codes, attribution, automatic retries, and Stripe payment all sit behind a few typed calls.
What you can do today
Course Studio is live, with video hosting included.
~2KB browser SDK, zero dependencies (npm + CDN)
Live
Publishable-key auth
Live
Create and manage carts and line items
Live
Marketing attribution on the cart (affiliate, promo code, UTM)
Live
Multi-currency pricing – display + charge currency, vanity prices
Live
Tax-aware repricing (subtotal, tax, discounts, total)
Live
Promo codes (apply / remove)
Live
Redirect checkout and embedded iframe checkout on your domain
Live
Prefilled checkout for external services (returns a checkout URL you can hand off – e.g. render it as a QR code)
Live
Typed errors with documented codes, plus automatic retries with idempotency
Live
General availability of the public Commerce API behind the SDK
coming soon
Wallet methods (Apple Pay / Google Pay) inside the embedded iframe
coming soon
Server-side SDK and more language targets
coming soon
Additional payment methods as they ship platform-wide
coming soon




