> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superintern.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Sell on Your Website

> Take payments on your SuperIntern website: connect Stripe, choose what's for sale, and get paid orders straight into your CRM. No fee from SuperIntern.

Your website can sell your products and services. Customers add things to a cart, pay on Stripe's secure checkout page, and the money goes straight to **your own Stripe account**. Every paid order appears in your CRM, and you get an alert.

> [!NOTE]
>
> Shops are rolling out gradually and may not be available on your account yet. If you'd like early access, contact us at [support@superintern.ai](mailto:support@superintern.ai).

## What it costs

SuperIntern takes **no fee** on your sales. Stripe charges its normal processing fees. You are the seller: refunds, disputes and payouts all happen in your own Stripe dashboard.

## Set up your shop

**1. Connect Stripe**

Go to **Business → Payments** (the same card also appears on your Website page) and click **Connect Stripe**. Stripe opens in a new tab: sign in and approve SuperIntern, or create a Stripe account right there. The card updates by itself when you're done.

Only the **business owner** can connect, replace or disconnect Stripe. You get an email every time the connection changes.

**2. Check your products**

Connecting adds what a shop needs to your CRM:

* **Products & Services** gets the shop columns: **Price**, **Stock**, **For sale**, **Description**, **Image**, **SKU** and **Type**.
* Two new tables, **Orders** and **Order items**, are where your sales arrive.

Your shop's currency is taken from your Stripe account. Each business has one currency.

**3. Choose what's for sale**

In **Products & Services**, for each product:

* fill in the **Price**;
* tick **For sale** (new rows start unticked, so nothing is sold by accident);
* optionally set **Stock**. Leave it blank if you don't count stock.

Then make the table and the products **public** with **Make public**. Only public products can appear on your website. Make the **Stock** column public too if you want customers to see how many are left.

**4. Ask for a shop on your website**

Tell SuperIntern in the website builder, for example: *"Add a shop page with our products and an Add to cart button."* If you build with Claude Code, ask it the same thing (see [Build with Claude](https://docs.superintern.ai/websites/build-with-claude.md)).

The buttons appear only once Stripe can take payments, so you can build the shop before you connect Stripe.

## What your customers see

1. An **Add to cart** button on each product (or **Sold out**), and a cart in the header.
2. **Check out** takes them to Stripe's secure checkout page.
3. After paying they land on a thank-you page with their order number, and get an email receipt.

Customers can buy as guests. If you also turn on [customer accounts](https://docs.superintern.ai/websites/customer-accounts.md), signed-in customers keep their cart across devices and see their orders under **My account**.

## When an order comes in

* A new row appears in **Orders**: order number, status, customer, total, items, and a **Stripe payment** link that opens the payment in your Stripe dashboard.
* The buyer is added to (or matched in) your **People**.
* **Stock** goes down by what they bought.
* You get an alert in your usual app, or by email.

An order is marked **Paid** only when Stripe confirms the payment and the amount matches the order. If something doesn't match, the order stays unpaid and a ticket appears in your inbox so you can check it in Stripe.

| Status | Set by |
| - | - |
| **Pending payment** | The customer started checkout |
| **Paid** | Stripe, once the payment is confirmed |
| **Fulfilled** | You, once you've sent or delivered the order |
| **Refunded** | Stripe, after a full refund |
| **Cancelled** | The payment failed or the checkout expired |

You can ask SuperIntern about your orders, for example *"What sold today?"* or *"Mark order 42 fulfilled."* For safety SuperIntern never marks an order paid or refunded, and never refunds a payment: do refunds in Stripe, and the order updates by itself.

## Try it in test mode

Connect a Stripe **test mode** account (the Payments card shows a **Test mode** badge), then buy something on your website with:

| Card number | Expiry | CVC |
| - | - | - |
| `4242 4242 4242 4242` | Any future date | Any 3 digits |

The order should appear as **Paid**, stock should go down, and the receipt should arrive. Refund it in your Stripe test dashboard and it turns **Refunded**.

## Disconnecting

Click **Disconnect** on the Payments card. Customers can't pay until you connect again. Payments you've already received stay in your Stripe account.

## Good to know

* One Stripe account and one currency per business.
* Checkout collects the customer's email only. Shipping addresses and shipping costs aren't supported yet.
* Stock isn't reserved while someone is paying, so two customers buying the last item at the same moment can both succeed.
* A partial refund leaves the order **Paid**. A refund doesn't put stock back.
* Prices always come from your CRM. Changing a price later doesn't change past orders.

## For builders

If you are building the site yourself (for example with Claude Code), follow these rules. They are also in the site kit's own guide.

* Set `crmTables: { products: "Products & Services" }` and `shop: { enabled: true }` in `src/site.config.ts`, and only switch the shop on when the owner asked for one.
* Use the site kit's parts: `forSale(await loadRows(Astro, "products"))` from `@superintern/site-kit/shop`, `<ProductPrice>`, `<AddToCart>`, `<CartButton>`, and `<YourOrders />` on My account. On a site made before the kit, the same parts are under `@/lib/` and `@/components/`. Keep the site's own `/shop/thanks` and `/shop/cancelled` pages, which come with the template.
* **Never build your own cart or checkout, and never type a price into a page as the price charged.** Checkout sends only products and quantities; the server prices the order from the CRM.
* Off means invisible: the shop parts render nothing until payments are on. Don't hide or show them yourself, and don't write "coming soon".
* Call the `site_table_list` tool first: it says whether payments are on, how many products are for sale, and the shop currency.
* Connecting Stripe and making products public are the owner's steps. Tell the owner where to do them instead of working around them.

The endpoints the starter uses, all on the site's own domain:

| Path | What it does |
| - | - |
| `POST /_v/shop` | Whether the shop takes payments right now |
| `POST /_v/checkout` | Starts a Stripe checkout for `{cart: [{product, quantity}]}` |
| `POST /_v/checkout/status` | Pending, paid, failed, expired or refunded |
| `POST /_v/cart` | A signed-in customer's saved cart |
| `POST /_v/orders` | A signed-in customer's orders |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.