1. Documentation /
  2. Sofort.com Gateway

Sofort.com Gateway

The SOFORT Banking payment gateway facilitates online bank transfer 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, and a Sofort.com account is required.

Installation

↑ Back to top
  1. Download the .zip file from your WooCommerce account.
  2. Go to: WordPress Admin > Plugins > Add New to upload the file you downloaded.
  3. Activate the extension.
For a more information, see: Installing and Activating Plugins/Extensions.

Configuration

↑ Back to top
  1. Register for a Merchant account at Sofort.com or log into your existing account.
  2. Go to: My Projects.
  3. Create a New Project and ensure that it is not in Test mode. Important: Use SOFORT Gateway Project; this has the correct key. DO NOT use SOFORT Classic Project.
  4. Copy the Configuration Key from your Sofort.com account. WooCommerce Sofort settings
  5. In the WordPress Admin, go 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 enter a 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 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 the 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 );
But please be aware, that you only have 27 chars for each transaction reason filter.