Anticode Open builder

A Stripe payment link on your website: buttons that open Stripe Checkout

Create a Payment Link in Stripe, paste its buy.stripe.com address into Anticode's payment-link connector, and rebuild: the pricing buttons and store Buy links on your site then open Stripe's hosted checkout in a new tab. Stripe handles the card form, receipts and refunds. Anticode never sees card details and keeps no order list.

Updated · By the Anticode team

What a Stripe Payment Link gives you

Stripe's Payment Links overview describes a Stripe-hosted payment page you create without code and can share anywhere. One link can be reused by any number of customers or capped at a number of purchases. It can sell a one-off product, a subscription or a donation where the customer chooses the amount, show over 40 payment methods depending on eligibility, let customers change quantities, apply promotion codes, collect addresses, and calculate tax with Stripe Tax. Automatic email receipts and refunds from the dashboard are built in.

Connect it to your Anticode site

  1. In the Stripe Dashboard, create the payment link and copy its address.
  2. In Anticode, open Connectors › Payment link and paste it into Your payment link. It's stored as ordinary settings, not a secret, because it will appear in your public pages.
  3. Make sure the site has something to attach it to: a pricing section, the payments must-have, or the online store kind.
  4. Rebuild or republish. The address is written into the page when it's built, so a site that's already live changes only when you publish again.

After that, each pricing plan’s button and each store item’s Buy link point at Stripe and open in a new tab, and the site’s FAQ answer about paying says people pay online through a secure checkout. That’s the whole of a Stripe payment link on website pages built by Anticode: an address behind your buttons, nothing running on the page.

Build the link for one account-wide button set

Anticode stores one payment link per account, and every pricing and buy button uses it. Plan the Stripe side around that:

  • One product or service. A single-product link is the simple case: a workshop ticket, an ebook, a deposit for a consultation.
  • A few related items. Stripe lets a payment link offer optional items and upsells, so one link can present a main product with add-ons the buyer ticks at checkout.
  • Several plans. If your pricing table shows three tiers, a single link can't pick the tier from the button that was clicked. Either sell one plan online and point the others to your contact section, or let quantities or optional items carry the choice.
  • A larger catalogue. That's a sign a shop platform suits you better than buttons on a page.

Bring buyers back afterwards

By default Stripe shows its own confirmation message. Stripe's after-payment guide explains that under After the payment you can instead redirect customers to a URL of your choice, such as your site's address, and that UTM codes added to the payment link are passed on to that redirect. Sending people back to your site closes the loop; just remember the page they land on is a normal page, since Anticode can't read the checkout session to personalise it.

What you can't use on Anticode pages

Stripe also offers an embeddable buy button. It relies on Stripe's script, and Anticode's published pages run no scripts and embed nothing, so use the plain link. The same goes for Stripe's pricing table embed. The link keeps your pages free of third-party code, which is part of why they pass Anticode's security checks.

Orders, refunds and records

Every payment shows in Stripe's payments overview, and Stripe can email you for each successful payment if you turn that on in your notification settings. Refunds, full or partial, happen in the Stripe Dashboard. Anticode's dashboard doesn't know a purchase happened, so if you need to act on orders, such as sending a download or booking a slot, set that up in Stripe or through an automation listening to Stripe's events.

Limits

  • One payment link for all buttons on all your sites.
  • No cart across items on your pages, and no stock tracking.
  • Anticode's own on-site payments aren't available; payment links are the way to sell from an Anticode site today. See Stripe Connect for the status.
  • Model-written apps run in a sandbox with no payments inside them.

Compare other providers on the payment links page, or read the wider guide to accepting payments on a website.

Questions people ask

Do I paste my Stripe secret key anywhere?

No. Anticode only needs the public payment link. Never paste an API key into the payment-link connector.

Can each pricing tier have its own Stripe link?

Not today. All pricing and buy buttons share the one link saved on your account.

Will the button update when I edit the link in Stripe?

Edits to the same link apply straight away, since the address doesn't change. A new link needs saving in Anticode and a republish.

Sources

  1. Stripe Docs: Payment Links, checked
  2. Stripe Docs: After a payment link payment, checked