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 observed.


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.

Attention: For Sofort activation on the Saferpay terminal, please inform our activation service about your Sofort credentials and the desired currency.

Create a new project for SOFORT

  1. Log-in to your SOFORT member area. Choose „New project“ and click „Create project“.
    alt text

  2. Set the radio button for „Classic project“ and click again „Create project“.
    alt text

  3. In the next step specify general settings for the project.
    alt text
    Don't forget to deactivate the Test mode before going live!

  4. Then enter your address.
    alt text

  5. Specify the currency for your customer’s payments.
    alt text

  6. Enter your IBAN for receiving your customer’s payments.
    alt text

  7. For processsing SOFORT payments via Saferpay enter the redirect links.
    alt text
    Success link:
    Abort link:

  8. Scroll downn and click on "Save" to save your general project settings. Click on the tab „Extended settings“ to configure additional project settings.
    alt text

  9. Go to „Shop interface settings“ in the "Extended settings" tab and enter the timeout value and link.
    alt text
    Timeout in seconds:
    Timeout link:

  10. Again click the tab „Extended Settings“ and choose „Notifications“.
    alt text

  11. Click „Add new notification“ and add your email address to receive notification messages.
    alt text

  12. Save and complete with adding the notification URL. As method choose „POST“.
    alt text

  13. Finally create a project password. Please make sure, that you check the "Don't use special characters"-box! Click the tab „Extended settings“ again and there „Passwords and hash algorithm“. Select SHA-1.
    alt text

The settings for processing SOFORT via Saferpay are completed!

Sofort iFrame integration

Warning: Sofort does not support the iFrame Integration!

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!

Back to Top