> Short answers to common questions about adding Plandalf to a site, payments, test mode, identity, the API and webhooks.

Source: https://plandalf.com/docs/help/faq

Help

# FAQ

Short answers to the questions people ask most, with links to the details.

## Do I need to write code?

No. Paste one script tag into your site and add `data-plandalf-present` to a button, or share the checkout's hosted link. The checkout's **Share** screen gives you both. See [Add Plandalf to your site](https://plandalf.com/docs/get-started/add-to-your-site).

## Which payment processors can I use?

Stripe. Connect it under **Settings → Payments & Tax Integrations**. PayPal shows there as coming soon. See [Payments](https://plandalf.com/docs/settings/payments).

## Can I use my own button?

Yes. Any element works: add `data-plandalf-present="YOUR-CHECKOUT"` to it and keep your own styles. There's also a ready-made `<plandalf-buy-btn>`. See [Buy buttons](https://plandalf.com/docs/checkouts/buy-buttons).

## Can the checkout sit on the page instead of a popup?

Yes. Use `<div data-plandalf-mount="YOUR-CHECKOUT"></div>` where you want it. See [Open a checkout](https://plandalf.com/docs/developers/open-a-checkout#mount).

## Will the script slow my site down?

It loads with `async`, so it doesn't hold up your page. Once the page is idle, it downloads the checkout code in the background so the first checkout opens quickly. On pages that rarely open a checkout, add `data-prefetch="false"` to the tag to skip that.

## Does it work with React, Next.js and other single-page apps?

Yes. The SDK watches the page and binds buttons your app renders later. See [React](https://plandalf.com/docs/frameworks/react), [Next.js](https://plandalf.com/docs/frameworks/nextjs) and the other [framework guides](https://plandalf.com/docs/frameworks/html).

## Is there an npm package?

The hosted script is the main way to add Plandalf and needs no package. `@plandalf/react` 1.1.6 on npm has the older iframe embeds; the 2.0 provider and hooks aren't on npm yet. See [React package](https://plandalf.com/docs/developers/react).

## How do I test without charging anyone?

Connect a Stripe test account, then add your development sites under **Settings → Advanced → Test domains**, or use the test link on the **Share** screen. Use Stripe's test cards. See [Test mode](https://plandalf.com/docs/get-started/test-mode).

## Do test purchases count in my results?

No. They're left out of revenue and results, skip automations unless you turn on **Run on test purchases**, and show under **Invoices** with a test badge.

## Can I identify logged-in buyers by email?

Not with an email alone. `identify()` takes a short token your server signs with an API key, so nobody can pretend to be someone else. To fill in an email without identifying anyone, pass it as a checkout property. See [Identify buyers](https://plandalf.com/docs/developers/identify-buyers).

## If a buyer closes the checkout, do they lose their cart?

By default each checkout starts fresh. Turn on session continuity and they get the same checkout back, in the same tab or the same browser. You can also email them a link that reopens it. See [Session continuity](https://plandalf.com/docs/developers/session-continuity).

## Where do I find a checkout's slug?

On its **Share** screen, in the button snippet. [`GET /api/v1/offers`](https://plandalf.com/docs/api/offers) lists every checkout's slug too.

## How do I get notified about sales on my server?

Register a webhook endpoint with the API. Plandalf signs every request and retries failed deliveries for about 45 hours. See [Webhooks](https://plandalf.com/docs/api/webhooks).

## Does the API have rate limits?

Not today. See [Errors and limits](https://plandalf.com/docs/api/errors).

## Can an AI agent build checkouts for me?

Yes. Connect Claude, ChatGPT, Cursor or another MCP client to Plandalf's MCP server and it can design checkouts and add them to your site's code. See [MCP server](https://plandalf.com/docs/api/mcp).

## I used the old Plandalf SDK. What changed?

Several names changed, such as `setUser` to `identify`, and buy buttons now use `data-plandalf-present`. See [Migrate from Plandalf v1](https://plandalf.com/docs/help/migrate-from-v1).

Something wrong or missing? Email [hello@plandalf.com](mailto:hello@plandalf.com).
