Sofort by Klarna
SOFORT is a third party means of payment by Klarna Group. To process SOFORT via the Saferpay JSON API a few things must be considered.
Sofortüberweisung/Sofort is no longer available, due to Klarna phasing out the product and replacing it with Klarna Payments. Thusly new integrations for Sofort are no longer possible.
Existing contracts will continue to work over the existing Integration with Saferpay.
This page is only for merchants, who already have Sofort integrated.
Important: Sofort by Klarna/Sofortüberweisung is NOT the same as Klarna Payments! Please refer to this chapter, if you want to use Klarna Payments!
The handling of SOFORT payments with Saferpay requires:
- A corresponding licence and thus the existence of a valid identification with a username and password for the Saferpay system.
- Availability of at least one active Saferpay terminal via which payment can be carried out and availability of the associated Saferpay TerminalId.
- A valid acceptance agreement for SOFORT must be present.
For SOFORT activation Saferpay needs:
- Your SOFORT Customer ID.
- The SOFORT Project ID.
- The SOFORT Project password (NOT the account password!).
- The Currency your customers will purchase with SOFORT.
- Your Saferpay Customer ID.
- The ID of the Saferpay eCommerce Terminal SOFORT is to be added.
For Sofort activation on the Saferpay terminal, please inform our customer service about your Sofort credentials (see list above) and the desired currencies.
Feature | Support |
Capture/Cancel | ❌ |
Multipart Captures | ❌ |
Batch Close | ❌ |
Secure Card Data | ❌ |
Refunds | |
Recurring Payments | ❌ |
3D Secure | ❌ |
Dynamic Currency Conversion | ❌ |
Mail Phone Order | ❌ |
✅ | |
Omni-Channel | ❌ |
The general integration of SOFORT can only be done via the Payment Page and requires the following things to be noted:
- The notification URLs, inside the
Notification
conatiner are mandatory, in order to avoid missing payment successes. See the Payment Page process for further information. - The
Payment.OrderId
is limited to 27 characters. Anything above that, will be trimmed. - Sofort does not support the Iframe integration. Saferpay will break out of the IFrame, if necessary.
Sofort does not support the iFrame Integration!
Furthermore, for other flows (Refunds etc.), please refer to the table above.
Sofort/Klarna actively blocks the iFrame-Integration. In order to circumvent this issue, the Saferpay Payment Page will break out of the iFrame and display the Sofort website full-size, in order to make a payment possible. However, please keep in mind, that the ReturnUrls will also be displayed full-size!
Before you can accept SOFORT payments, you must create a Sofort project, following this guide:

(click to enlarge)

(click to enlarge)

(click to enlarge)
Don't forget to deactivate the Test mode before going live!

(click to enlarge)

(click to enlarge)

(click to enlarge)

(click to enlarge)
Success link:
https://-USER_VARIABLE_0-paymentStatus=ok-USER_VARIABLE_2--USER_VARIABLE_3--USER_VARIABLE_4--USER_VARIABLE_5--SENDER_IBAN-
Abort link:
https://-USER_VARIABLE_0-paymentStatus=cancel
Copy these values as they are here!

(click to enlarge)

(click to enlarge)
Timeout in seconds:
900
Timeout link:
https://-USER_VARIABLE_0-paymentStatus=timeout
Copy these values as they are here!

(click to enlarge)

(click to enlarge)

Notification URL:
https://-USER_VARIABLE_1-

(click to enlarge)
Please make sure to check the Don't use special characters-box! Otherwise it can cause major issues!
DO NOT create a notification-password, otherwise Sofort via Saferpay will not work!
The settings for processing SOFORT via Saferpay are completed!
For Sofort activation on the Saferpay terminal, please inform our activation service about your Sofort credentials (see list above) and the desired currencies.
Last modified 1mo ago