Skip to main content
Klarna → SalesforceIntegration guide

Connecting Klarna to Salesforce

Klarna approves the shopper and takes on the credit risk, which means an order can be placed and then declined at the approval step — after the customer thought they had bought. Sending conversions into Salesforce rather than out of it is how marketing data reaches the place sales actually works. The join between them succeeds or fails on one thing: whether the Lead or Contact identity reaches the Klarna order before the conversion happens, because Salesforce can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Klarna and Salesforce: a narrow fit for consumer orders

Most Klarna stores do not need Salesforce. If yours uses it, write payment method, Klarna order ID and captured amount to a custom or order object linked to the Contact, sourced from your store's order webhook at capture with stored click IDs. Never create Opportunities from Klarna orders, and match on your store customer ID, not Klarna's returned email.

Klarna is a consumer checkout, and most stores taking Klarna do not run their customers through Salesforce. If yours does, typically a brand with a wholesale arm or a service team working in Salesforce, the Klarna detail worth writing is narrow: payment method, Klarna order ID and captured amount on the order record, so service and sales can see who bought on installments.

Do not create Opportunities from Klarna orders. A consumer purchase is not a pipeline stage, and turning every order into a closed-won Opportunity buries real deals under thousands of tiny ones. Write orders to a custom object, or to Salesforce's order object if you already use it, linked to the Contact, with the click identifiers you stored at checkout. Source it from your store's order webhook at capture rather than from Klarna directly, since the store holds the click IDs.

The duplicate trap is specific to this pair: if you use a Klarna checkout where the shopper enters details in Klarna's form, the email Klarna returns can differ from the one typed earlier on your site. Matching on Klarna's email then creates a second Contact for the same person. Match on your store's customer ID or the checkout email, and test with a shopper who edits their email inside Klarna before trusting your duplicate rules.

Klarna → Salesforce · what breaks

Why this join usually fails — Klarna → Salesforce

  1. 01

    The Lead or Contact identity never reaches Klarna

    The checkout hands off to Klarna's hosted flow and returns, and approval happens on Klarna's side.

  2. 02

    Firing before Klarna approves

    An order fired at checkout that Klarna then declines is a conversion that never happened. On categories with lower approval rates the gap is material and it is entirely invisible in the ad platform.

  3. 03

    Writes that succeed and change nothing

    Field-level security, validation rules and required-field constraints can reject a write while the API reports success. Open the record and look rather than trusting the response.

  4. 04

    Nothing reconciles afterwards

    Check the record in Salesforce itself, not the API response. Then confirm the value survives Lead conversion onto the Contact, Account and Opportunity — the mapping is separate and is usually the thing that was missed.

Klarna → Salesforce · the fix

What working looks like — Klarna → Salesforce

  • The Lead or Contact identity on every order

  • Conversions arriving in Salesforce

    The marketing context appears on the record and flows into the opportunity, where sales and reporting can both use it.

  • Reconciled against the source

Klarna → Salesforce · architecture

How Klarna and Salesforce actually connect

  1. 1

    Klarna holds the truth

    Klarna runs its own approval. A declined shopper produces an abandoned order that can look like a completed one depending on where in the flow the conversion fires.

  2. 2

    Salesforce needs a click to match

    Salesforce needs a resolvable record and a custom field to write to. Field-level security and validation rules can silently reject writes, which is a Salesforce-specific failure that returns success at the API level and changes nothing.

  3. 3

    The identifier is the bridge

    The Lead or Contact identity, captured at the visit and carried into the Klarna order.

  4. 4

    The event source decides reliability

    Send captured orders at the amount you actually receive after Klarna's fee.

  5. 5

    Deduplication at the destination

    Salesforce deduplicates according to whatever matching rules your org has configured, which vary enormously between instances. Duplicate Leads are the standard failure and merging them afterwards is manual work.

Klarna → Salesforce · normal or broken

Working vs. broken, side by side — Klarna → Salesforce

Normal, not a fault

  • The Lead or Contact identity present on the order

  • Sent from the order record at Klarna capture

  • Deduplicated correctly

    Salesforce deduplicates according to whatever matching rules your org has configured, which vary enormously between instances. Duplicate Leads are the standard failure and merging them afterwards is manual work.

  • Reconciles with the source

Actually broken

  • The Lead or Contact identity missing on most records

    The checkout hands off to Klarna's hosted flow and returns, and approval happens on Klarna's side.

  • Sent from the browser

    An order fired at checkout that Klarna then declines is a conversion that never happened. On categories with lower approval rates the gap is material and it is entirely invisible in the ad platform.

  • Counted twice, or not at all

    Field-level security, validation rules and required-field constraints can reject a write while the API reports success. Open the record and look rather than trusting the response.

  • Nobody has reconciled it

Klarna → Salesforce · diagnose

Diagnostic order — Klarna → Salesforce

  1. 01

    Count orders carrying the Lead or Contact identity

  2. 02

    Follow one real conversion end to end

  3. 03

    Measure the approval rate and compare against your conversion count

    If conversions exceed captured orders, declines are being counted.

  4. 04

    Write a test value and open the record in the UI

    The API saying it worked and the field actually holding the value are different things in Salesforce more than anywhere else.

  5. 05

    Read the match rate, not the success message

    Check the record in Salesforce itself, not the API response. Then confirm the value survives Lead conversion onto the Contact, Account and Opportunity — the mapping is separate and is usually the thing that was missed.

Klarna → Salesforce · prove

How it gets proven — Klarna → Salesforce

Source of truth

Klarna orders that were actually approved and captured, not orders attempted.

  • The Lead or Contact identity confirmed present on a live order.
  • A test value confirmed present on the record in the UI, and confirmed to survive Lead conversion.
  • Captured orders reconciled net of fees against imported conversions.

Klarna → Salesforce · free audit

What we check in the free audit

  • Count orders carrying the Lead or Contact identity
  • Follow one real conversion end to end
  • Measure the approval rate and compare against your conversion count
  • Write a test value and open the record in the UI
  • Read the match rate, not the success message

Checked against

Klarna orders that were actually approved and captured, not orders attempted.

Get my free conversion tracking audit

Free30 minutesNo obligation

Klarna → Salesforce · when not to buy

When you don't need this — Klarna → Salesforce

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the Lead or Contact identity.
  • If you fire on capture already, the decline gap does not affect you.
  • If your Salesforce org is administered by a team you cannot get time with, scope their availability before starting — this build is usually blocked on admin access rather than on the work.

Klarna → Salesforce · what we deliver

What gets built — Klarna → Salesforce

  • Identifier capture into Klarna

    Capture on your own domain, persist through the handoff, and fire the conversion on capture rather than on order creation.

  • Event source: the order record at Klarna capture

    Send captured orders at the amount you actually receive after Klarna's fee.

  • Dispatch to Salesforce

    API writes to the Lead or Contact record, or a platform event, carrying the marketing context as custom field values.

  • Reversals where they exist

    Refunds and returns reverse. Klarna's shopper base returns at above-average rates on some categories.

Written guarantee

95%+ tracking accuracy

Measured against Klarna orders that were actually approved and captured, not orders attempted.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Klarna → Salesforce questions, answered

Not for consumer orders. Store them as orders linked to the Contact and keep Opportunities for deals with a sales process.

Free · 30 min

Get Klarna and Salesforce joined properly

Free30 minutesNo obligation