Skip to content
Recued
Menu
← Back to recipes

Create Klarna order from authorization

by recued-core v1

Approval-gated Klarna order placement workflow. It creates exactly one order from one successful Klarna authorization token and documented cart payload through recued-core.klarna.order.create. It does not capture, refund, cancel, update, create customer tokens, or call arbitrary endpoints.

How it works 7 steps

Inspect the data fetches, transforms, gates, and output this recipe runs.

Process (7 steps)
trimmed_authorization_token trim
Trim whitespace from setting authorization token
trimmed_confirmation_url trim
Trim whitespace from setting confirmation url
trimmed_notification_url trim
Trim whitespace from setting notification url
merchant_reference trim
Trim whitespace from setting merchant reference1
has_required_urls compare
Check if trimmed confirmation url has data
order ?
skip: step.has_required_urls not_equal true
card to_summary
Format results as a summary card
Settings 12 configurable

Configurable at install. Defaults shown — change them anytime in Recued.

klarna setting =
locale setting = en-SE
order lines setting = [object Object]
auto capture setting = false
order amount setting = 9500
confirmation url setting =
notification url setting =
order tax amount setting = 1900
purchase country setting = SE
purchase currency setting = SEK
authorization token setting =
merchant reference1 setting =

Trust & control

What installing this recipe would let it do. Recued grants these permissions at install — review them there before approving.

Where it runs

Device + server Runs on your device (browser) or your server.

Permissions it requires

Read your Klarna connection
Declared by the recipe — Recued grants these at install, where you review them before approving.

About

Tags

klarna klarnapaymentscheckoutorderauthorizationcreateapprovalpack:klarna

Details

7 steps 12 configurable settings recipe_id: create-klarna-order-from-authorization