Create a Klarna payment session
Approval-gated Klarna payment-session creator. It opens one Klarna Payments API session with cart details, returns session_id, client_token, and available payment methods, and does not place an order, capture funds, cancel authorizations, generate customer tokens, or call arbitrary endpoints.
How it works
Inspect the data fetches, transforms, gates, and output this recipe runs.
Process (7 steps)
callback_url
trim
Trim whitespace from setting authorization callback url
merchant_reference
trim
Trim whitespace from setting merchant reference1
has_callback_url
compare
Check if callback url has data
session
?
skip: step.has_callback_url not_equal true
categories
default
Apply default
category_table
to_table
Format results as a data table
card
to_summary
Format results as a summary card
Settings
Configurable at install. Defaults shown — change them anytime in Recued.
klarna
setting
=
locale
setting
=
en-SE
order lines
setting
=
[object Object]
order amount
setting
=
9500
order tax amount
setting
=
1900
purchase country
setting
=
SE
purchase currency
setting
=
SEK
merchant reference1
setting
=
authorization callback url
setting
=
Trust & control
What installing this recipe would let it do. Recued grants these permissions at install — review them there before approving.