Configuring Klarna
Klarna allows the consumer to purchase a product and then be billed for it afterward.
Step 1: Build a Klarna source request object
Field
Value
Klarna source details object
{
"returnUrl": "https://redirectUrl.com",
"cancelUrl": "https://cancelurl.com",
}Field
Required/Optional
Description
Step 2: Create a Klarna source using DigitalRiver.js
Klarna source example
Step 3: Authorize the Klarna source
Redirecting the customer to Klarna for authorization
Step 4: Use the authorized source
Step 5: Support recurring payments
Field
Value
Klarna recurring source example
Testing Klarna
Last updated