07Connect StripeAll chapters

Chapter 07

Connect Stripe

Payments run through your own Stripe account. You connect it once in a Stripe window, without copying any keys. From then on, payments, payouts and refunds happen directly on your side.

How the checkout works

Framer has no checkout of its own. That is what Stripe Shop for Framer by kspr studio is for:

Neither you nor we ever see card details, only Stripe handles them. And because the price comes from your Stripe account, it cannot be tampered with in the browser.

Before you start

1. Open the plugin

  1. Open your project in Framer.
  2. Open the plugins menu and search for "Stripe Shop for Framer" by kspr studio.
  3. Click "Open".

Button names are quoted here exactly as they appear in the plugin. It has two views, switchable in the menu at the top:

The dashboard on "Overview": progress, next step, checklist and "At a glance".
The dashboard on "Overview": progress, next step, checklist and "At a glance".

"Overview" guides you through the setup. Under "Setup" you see every step in order, and each open step has a button that does it for you. Under "Help" you'll find this guide, links to Stripe, "Support details" to copy into a support request, plus "Terms" and "Privacy".

2. Set up the checkout

  1. On "Overview", at the step "Create your checkout", click "Set up checkout". Nothing is charged.
  2. Afterwards it says "Checkout created for this project".

3. Connect Stripe

  1. Open "Checkout" and, under "Stripe", click "Connect with Stripe". A Stripe window opens. If your browser blocks it, the plugin shows a link instead.
  2. Sign in to Stripe or create a new account.
  3. Choose the account you want to sell with and confirm the connection.
  4. Close the Stripe window if it stays open. The plugin now shows "Connected" and the name of your Stripe account.

If it also says "Stripe still needs details before you can accept payments", Stripe still needs information for real payments. In test mode that doesn't matter. Before going live, you add it in the Stripe dashboard.

4. Allow your website

The checkout only accepts orders from allowed addresses. In "Checkout", under "Allowed websites":

  1. Publish your site if you haven't yet.
  2. If the plugin shows "Your published site cannot start a checkout yet", click "Allow these domains".
  3. Add more addresses, such as your own domain, under "Add a domain" and click "Add domain".

Test purchases from the preview in the Framer editor don't need an entry, see test the checkout.

Access and keys

The plugin needs a key to manage your checkout. It is kept in your browser, not in the Framer project, so nobody who only works on the project can read it. The menu at the top has:

If the key is missing, the plugin tells you. With "Restore access with Stripe" you sign in to the connected Stripe account. The Stripe window then shows a six-digit code, which you enter in the plugin under "Code from the Stripe window" and confirm with "Restore access". It is a one-time code that Stripe creates right then - there is nothing to remember and nothing to keep. Never give it to anyone: whoever enters it can manage your checkout.

This happens in three situations, and in all of them it is the right way:

Changed browser and the Stripe account is yours? Then it is two clicks and a code.

What we can and cannot do

By connecting, you allow our checkout service to create products, prices and checkout sessions in your Stripe account. Your account stays yours: payouts, refunds, taxes and payment methods are managed by you in the Stripe dashboard. You can disconnect at any time in your Stripe account settings. After that, this site's checkout stops taking payments until you connect again.

Next: update your products.