Talivia Docs
Talivia Docs
HomeDashboard
IntroductionInstallationTeamGetting updates
Stripe
Yolfi
Dodo Payments
LemonSqueezy
Polar
Polar Checkout APIPolar Checkout LinksPolar Embedded CheckoutPolar subscriptions and renewalsOther Polar methodsTest and troubleshoot Polar
Manual Payment APITesting payment integrations
Integrations
llms.txtllms-full.txt
RevenuePolar

Polar Checkout Links

Attribute no-code Polar Checkout Links through the successful return visit.

View Markdown

Checkout Links do not let your server attach fresh Talivia metadata for every buyer. Use Polar's success URL placeholder so Talivia can connect the completed checkout to the browser session when the buyer returns.

Configure the link

  1. Create or edit the Checkout Link in Polar.
  2. Set its success URL to a tracked page on your site.
  3. Include the exact checkout_id={CHECKOUT_ID} query parameter.
Success URL
https://your-site.com/thanks?checkout_id={CHECKOUT_ID}

Place the link on a page where the Talivia tracker is installed.

Checkout Link
<a href="https://buy.polar.sh/polar_cl_YOUR_LINK">Buy now</a>

After payment, the Polar webhook records the order. The return page sends the checkout ID from the URL to Talivia, which supplies the session-side match.

Shared links have a natural limit. If a buyer opens the link from email or social media and never visits your tracked site, Talivia records the revenue but cannot invent a traffic source. The payment remains unattributed unless customer identity provides another match.

For logged-in products, also call identify with the same application customer ID used by Polar. See Other methods.

Polar Checkout API

Create Polar Checkout Sessions with Talivia session metadata.

Polar Embedded Checkout

Attribute a Polar Checkout Link opened inside your site.