Sofort Payment Gateway

NOTE

This product is no longer sold on WooCommerce.com. This document has been left available for existing users, but will no longer be updated.

Sofort discontinued its services on March 31, 2025, and is now part of Klarna. We recommend switching to Klarna for continued Sofort payment processing.
This extension remains available only for update purposes and to maintain compatibility with Sofort until the end of March 2025.

The Sofort payment gateway facilitates online bank transfers via Sofort.com, a popular payment provider in Europe.

Customers can transfer money using their online banking account from the following countries:

  • Austria
  • Belgium
  • Czech Republic
  • France
  • Germany
  • Hungary
  • Italy
  • Netherlands
  • Poland
  • Slovakia
  • Spain
  • Switzerland
  • United Kingdom

The extension is available in English and German; a Sofort.com account is required.

Installation

↑ Back to top
  1. Purchase the product from WooCommerce.com
  2. Download the ZIP file from your WooCommerce.com dashboard
  3. Go to Plugins > Add New > Upload and select the ZIP file you just downloaded
  4. Select Install Now and then Activate.
  5. Read on to learn how to set up and configure the product.

More information at: Install and Activate Plugins/Extensions.

Configuration

↑ Back to top
  1. Register for a merchant account at Sofort.com or log into your existing account.
  2. From your Sofort account dashboard, navigate to My Projects.
  3. Next, create a new project and ensure that it is not in test mode. Important: Use the Sofort Gateway Project; this has the correct key. Do not use the Sofort Classic Project.
  4. Copy your Configuration Key; you’ll need this in step 8.
  5. In your WP Admin dashboard, navigate to WooCommerce > Settings > Payments.
  6. Click Online Bank Transfer — Sofort.
  7. Enter a title and description that customers see when they go through checkout.
  8. Enter the Configuration (Config) Key or userid:projektid:apikey which you can retrieve from your Sofort.com account. For example: 12345:98765:dtbre5zezw4f47ggz78zu.
  9. Enter your email address in Notification email to receive payment status changes.
  10. Choose whether to Trust Pending Payment and Debug and tick the checkboxes.
  11. Click Save Changes.

FAQ

↑ Back to top

1. Does the Sofort Banking gateway work for _______ (country)?
The extension supports EUR, GBP, CHF, and PLN currencies and is not dependent on the country. Austria should work, but your store needs to be set to use one of these currencies.

2. How can I change the transaction reason?
For changing the transaction reason, you can use filters. There are two filters — woogate_sofort_transaction_reason_1 and woogate_sofort_transaction_reason_2 — for the two lines of the transaction reason.

Example:

function filter_my_transaction_reason( $message, $order_id, $order_number ){
return sprintf( 'My Order %s', $order_number );
}
add_filter( 'woogate_sofort_transaction_reason_1', 'filter_my_transaction_reason', 10, 3 );

Please be aware that you have a 27 character limit for each transaction reason filter.