# Stripe Payment Links or Checkout: which tracks better?

Both can carry an id to the payment. Links need no code but depend on the address. Checkout needs a server and is harder to break. Side by side.

By the Totems team. Published 2026-12-03. Updated 2026-12-03. https://usetotems.com/blog/stripe-payment-links-vs-checkout

**Which should I use, Payment Links or Checkout?** Use Payment Links if you have no developer. Add client_reference_id to the address and test it. Use Checkout Sessions if you have a server, because the id is set by your code and can also be saved on the payment itself. Both create a Checkout Session, so you read the result the same way.

Both end on the same kind of Stripe page. The difference is who writes the address: you by hand, or your server.

## The short version

| Question | Payment Link | Checkout Session |
|---|---|---|
| Do I need code? | No | Yes, on a server |
| Where does the id go? | In the address | In your code |
| Can the buyer change it? | Yes, it's visible | No |
| Can it be dropped silently? | Yes, if a character is wrong | You see an error or a blank in tests |
| Can the id be saved on the payment? | One fixed value for everyone | Yes, one for each buyer |
| Can I use it in a DM? | Yes | Not without a page in between |
| One address for many people? | Yes | No, one for each buyer |



## How a Payment Link carries an id



If your script runs late, or the buyer opens a copied link, the id is missing or wrong. The payment still works, so nothing warns you.

## How Checkout carries an id



You can also set metadata on the payment for each buyer. Stripe says that is done with `payment_intent_data.metadata`. On a Payment Link, that setting is the same for every buyer.



## The same buyer, both ways



Notice the email survives. That is why a good setup uses the id first and the email second.



## Choose in one minute

1. No developer, or you sell in DMs? Payment Link, plus the test below.
2. You have a server and sell subscriptions? Checkout.
3. Both? Use Checkout on the site and a Payment Link for DMs.

## The test

- Pay with a test card from a link with an id. Read it in the event.
- Pay from the same link with the id removed. It must still work.
- Put a space in the id. See that Stripe drops it.
- Open the link on a second device. Check whose id it carries.



## What can go wrong

- **UTM tags on the link.** Stripe puts them on your redirect address after payment. With Stripe's own thank-you message, you never see them.
- **Buy buttons and QR codes.** A printed QR code holds one fixed address, so everyone shares one id. Leave the id off and use a separate code per place.
- **Old links.** A deactivated Payment Link sends people to an expired page. Check your old posts.
- **Slow payment types.** Bank debits and vouchers can take days. Wait until it is paid.

## When not to use Totems

If you use a hosted shop with its own checkout, you can use neither of these, so our Stripe steps won't apply. If you sell ten times a year, a Payment Link and a notebook will do.

Totems works with both. Its script can add the visitor id to the checkout links you choose. We have not yet tested it with a live Stripe account.

## Questions

### Does a Payment Link make a Checkout Session?

Yes. When someone opens it, Stripe makes a Checkout Session and sends checkout.session.completed after payment. Your webhook code can be the same for both.

### Can I put a different id in a Payment Link for each buyer?

Yes, by changing the address with client_reference_id. A metadata value set on the link itself is the same for everyone.

### Can I use both?

Yes. Many people use Checkout on their site and a Payment Link in DMs. Keep the id rules the same in both.

### Which one is cheaper?

We did not compare fees here. Stripe's price page for your country is the place to look, because prices differ by country and payment method.

## Sources

- [Stripe: Payment Links](https://docs.stripe.com/payment-links), checked 2026-12-03
- [Stripe: Share a payment link](https://docs.stripe.com/payment-links/share), checked 2026-12-03
- [Stripe: Track a payment link](https://docs.stripe.com/payment-links/url-parameters), checked 2026-12-03
- [Stripe: Checkout](https://docs.stripe.com/payments/checkout), checked 2026-12-03
- [Stripe: Metadata](https://docs.stripe.com/metadata), checked 2026-12-03
