Buy button

Accept cards and Bitcoin on any website with one line of code

Customers pay by card or with Bitcoin over Lightning. The money goes straight to your own Stripe account or Bitcoin wallet, stock updates the moment it's paid, and Loom21 takes 0% of every sale.

Add it to your page

Paste it where you want the button. That's the whole setup.

<script src="https://app.loom21.com/embed/buy-button/v1/buy-button.js" defer></script>

<loom21-buy-button
  key="l21_pk_live_YOUR_KEY"
  product="your-product">
</loom21-buy-button>

Replace the key and product with the ones from your product's Embed dialog in Loom21.

How it works

  1. Add your product

    Add your product in Loom21 and connect Stripe, a Bitcoin wallet, or both.

  2. Copy the snippet

    Copy the snippet from the product's Embed dialog.

  3. Paste it into your site

    Paste it into your site. Orders and stock update automatically.

Payment methods

Card

Paid through your own Stripe account, on Loom21's secure payment page in a new tab.

Bitcoin Lightning

QR code right on your page, settles in seconds.

Bitcoin on-chain

For larger payments, on Loom21's secure payment page in a new tab.

Turn on only the methods you want.

Loom21 takes 0% on every payment method, cards included. Stripe still charges its own card processing fees.

What stays yours

Own your money

Card payments land in your Stripe account, Bitcoin in your own wallet. Loom21 never holds your funds and takes 0%.

Own your data

Every sale is a normal Loom21 order with customer and stock records you can export at any time.

Own your integrations

The button is MIT open source on a public API, so you can restyle it, fork it or self-host the script.

Works with

  • WordPress
  • Webflow
  • Squarespace
  • Ghost
  • Plain HTML

Any site where you can add an HTML or embed block.

Buy button questions

No. Copy the snippet and paste it into your site builder's HTML or embed block.

No. You can take card payments only, Bitcoin only, or both. You can change this at any time.

Card via Stripe, Bitcoin over Lightning, and on-chain Bitcoin.

Lightning is paid right on your page. Card and on-chain payments open a secure Loom21 payment page in a new tab, and your page updates when the payment is complete.

It's included on every plan, Free included. Loom21 charges 0% per sale; your card processor's own fees still apply. Each paid order counts toward your plan's monthly order limit.

No. No cookies, no analytics, no third-party requests.

Add a Buy button to your site

Included on every plan, Free included. 0% Loom21 fees on every sale.

Start free