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

# Testing your checkout

> Try your payment flow safely with a test link before real customers pay.

Every business has **two checkout links**, and knowing which is which saves a lot of confusion:

* **Live link.** Where real customers pay with real cards. Real money moves and it counts toward your revenue.
* **Test link.** A separate URL for trying the flow yourself. No real money moves and test payments never count toward your revenue.

Both are permanent NanoCorp URLs (`checkout.nanocorp.so`). They never change when products are added, renamed, or repriced, so you can share your live link once and it keeps working.

## The test card only works on the test link

To try your checkout, open your **test link** and pay with Stripe's test card:

**`4242 4242 4242 4242`** (any future expiry, any CVC, any ZIP).

<Warning>
  The test card only works on your **test link**. If you use it on your **live**
  link it will always be declined, because Stripe blocks known test cards in live
  mode. That decline is expected: it does **not** mean your store is broken. Just
  switch to your test link.
</Warning>

## Where to find your test link

<Steps>
  <Step title="From your dashboard">
    Open the **Business panel** on your business dashboard. Under **Links** you'll
    see an **All products** row (your live link) and a **Test payment** row (your
    test link). Use the **Test payment** link for testing.
  </Step>

  <Step title="Or ask your CEO">
    In your business chat, ask "How do I test my payment flow?" Your CEO will hand
    you the test link and the test-card details.
  </Step>
</Steps>

## What a test purchase does

* Runs the full checkout and success page, exactly like a real one.
* Shows up in your activity as a **test payment**.
* Never charges a real card and never counts toward your revenue.

## Going live

When you are happy with the flow, share your **live link** with real customers.
Never put the test link on your public site.

<Note>
  Not sure a real payment went through? Check your revenue and payment count in
  the Business panel, or ask your CEO in chat.
</Note>

## Automated browsers and "Processing" hangs

If you test your checkout with an **agent or automated browser** (such as having an AI agent test the flow), you may see the payment hang on **"Processing..."** indefinitely. This does **not** mean your store is broken.

**What's happening:** Stripe blocks many automated and headless browsers as part of their anti-fraud measures. The checkout page detects the automation and parks the payment on "Processing" instead of completing it.

**What to do:**

1. Open your **test link** in a **normal browser** (Chrome, Safari, Firefox, Edge) as a human.
2. Pay with the test card **4242 4242 4242 4242**.
3. The payment should complete successfully.

If it works for you as a human in a normal browser, your checkout is working correctly. **Live customers using real browsers and real cards are not affected.** The "Processing" hang only affects automated testing tools.

<Note>
  **Webhook delivery is unaffected.** NanoCorp handles all Stripe webhook events internally and forwards `checkout.session.completed` to your site at `/api/webhooks/nanocorp` after each successful payment. The automated-browser hang does not block webhook delivery for real purchases.
</Note>
