Cart SDK

Build checkout on your own domain. Keep the buyer where you sell.

Build checkout on your own domain. Keep the buyer where you sell.

Build checkout on your own domain. Keep the buyer where you sell.

A ~2KB browser SDK that turns any page into a COPE checkout. Create a cart, price it with tax, then redirect or embed the payment step in an iframe – all under your URL, never bounced to someone else's page.

A ~2KB browser SDK that turns any page into a COPE checkout. Create a cart, price it with tax, then redirect or embed the payment step in an iframe – all under your URL, never bounced to someone else's page.

  • ~2KB, zero dependencies

  • npm or CDN

  • Redirect or embedded checkout

  • Early access

The hosted-checkout problem

Every redirect to a checkout page is a handoff you don't control.

Every redirect to a checkout page is a handoff you don't control.

Every redirect to a checkout page is a handoff you don't control.

Most payment tools send your buyer to a checkout on the provider's domain, with the provider's look and the provider's URL in the address bar.

Most payment tools send your buyer to a checkout on the provider's domain, with the provider's look and the provider's URL in the address bar.

Most payment tools send your buyer to a checkout on the provider's domain, with the provider's look and the provider's URL in the address bar.

You lose the brand, the trust, and a slice of conversion at the exact moment of purchase. And if you want your own flow, you're stuck rebuilding cart, pricing, tax, and payment from scratch.

You lose the brand, the trust, and a slice of conversion at the exact moment of purchase. And if you want your own flow, you're stuck rebuilding cart, pricing, tax, and payment from scratch.

The Cart SDK gives you the building blocks, not the bounce.

The Cart SDK gives you the building blocks, not the bounce.

From product to paid, in your code

Cart, pricing, and checkout – a handful of calls, your domain.

Everyone gets walked through, start to finish.

Cart, pricing, and checkout – a handful of calls, your domain.

The buying experience lives on your site; COPE runs the rails behind it.

The buying experience lives on your site; COPE runs the rails behind it.

01.

Create a cart

createCart() with a currency, then addLine() your products. Attach marketing attribution (affiliate, promo, UTM) right on the cart.

02.

Price it with tax

03.

Take it to checkout

04.

Land them back on your site
person managing their expenses on a laptop
person making a contactless payment with a card
two ladies looking at a laptop and smiling
lady checking her phone and smiling

01.

Create a cart

createCart() with a currency, then addLine() your products. Attach marketing attribution (affiliate, promo, UTM) right on the cart.

02.

Price it with tax

03.

Take it to checkout

04.

Land them back on your site
person managing their expenses on a laptop
person making a contactless payment with a card
two ladies looking at a laptop and smiling
lady checking her phone and smiling

What the SDK gives you

Your domain. Your flow. Our infrastructure.

Your domain. Your flow. Our infrastructure.

Your domain. Your flow.
Our infrastructure.

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.
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.
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.
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.
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.
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.
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.
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.
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

What you can build. And what's coming.

What you can build. And what's coming.

What you can build. And what's coming.

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

© 2026 Cope. All rights reserved

© 2026 Cope. All rights reserved

Operated by COPE Global LLC. Payments processed via Stripe. Tax compliance powered by Avalara.

Operated by COPE Global LLC. Payments processed via Stripe. Tax compliance powered by Avalara.

Book a Demo Call