Merchant Login

Drupal Commerce

Integration manual
Sofort

1. Introduction to ''Direct Bank Transfer''

Customers (end customers) do not have to register for 'Direct Bank Transfer'': They make a fast and easy payment using their online banking details. Thanks to real time acknowledgement of the transfer order, you as a merchant can immediately ship the goods or provide services. Furthermore, you can optionally offer buyer protection, providing additional security for your customers.

From your customer's perspective, a ''Direct Bank Transfer'' transaction consists of the following steps:

As soon as payment by 'Direct Bank Transfer'' is requested, the customer is redirected to a ''Direct Bank Transfer'' page.

Below the overview of the transfer data (recipient, reason, amount), your customer is requested to enter the sort code.

Subsequently, your customer is asked to log on by entering the online banking details.

After successful logon, the customer has to confirm and release the transfer by entering a valid confirmation code.

If a valid confirmation code has been entered, the transfer is authorized and your customer will receive a summary of the executed transaction.

Finally, the customer is redirected to your online shop with one click.

2. Integration steps

The following steps are required to integrate  SOFORT in Drupal Commerce SOFORT :

  1. Register as a merchant on our website https://www.sofort.com/register
  2. Create a new SOFORT project and configure it
  3. Install the SOFORT module in the shop
  4. Set up the SOFORT module in the administration backend of your shop

3. project setup

4. Registration at ''Direct Bank Transfer''

In order to be able to offer ''Direct Bank Transfer'' in your shop, a customer account with ''Direct Bank Transfer'' is required.

If you do not have such an account you may register at https://www.sofort.com/register.

After your registration, you have to be logged on in the merchant area and have to create a project for your system / online shop. If you do not use  ''Direct Bank Transfer'', you have to activate the desired product. Go to "My account > Product activation" in the left navigation bar.

5. Create new SOFORT project

To set up a project, click "New project" in the left column and create a SOFORT Gateway project. If you already us another SOFORT payment method in your shop, you may activate  Drupal Commerce in the project that already exists.

Attention: Please create a "SOFORT Gateway" project

Functions such as automatic refunds and buyer protection are only available if you provide a Deutsche Handelsbank account. You will have the possibility to apply for a Deutsche Handelsbank account during project setup.

Complete your project data now. The most important settings are:

General settings

  • Project name: Enter the name of your shop here.
  • Shop system: Select your shop system.
  • Industry: Select your industry.
  • Website: Enter the URL of your online shop.

Address

The address entered here will be displayed to your customer on our payment wizard.

Bank account information

Enter your bank information here for the receipt of payments. Please keep in mind that international transactions in other currencies require a corresponding currency account. After you have created the project, you may store additional bank information for foreign currencies (e.g. a Złoty currency account for transactions from Poland) in the "Extended settings".

Settings for all payment methods

Select your merchant profile first:

  • Merchant/Shop provider: Select this profile if you offer goods for sale.
  • Content provider: Select this profile if you offer digital goods (downloads, credits, etc.) or services for sale.

Automatic redirection: Please activate this option

Please do not change the other settings as they are determined by the module.

Buyer protection

If you have a Deutsche Handelsbank account, you may activate buyer protection. Your account must be activated for this feature; please check with Deutsche Handelsbank for this purpose. More information on Deutsche Handelsbank and buyer protection can be found at https://www.handelsbank.com/

Payment methods

Activate  Drupal Commerce here by enabling the checkbox.

  • Test mode: By activating this option, you can test Drupal Commerce . More information can be found in the "Testing" chapter. Test transactions and real transactions are possible in parallel. However, we recommend to deactivate the test mode for productive operation.
  • Block sender country: Leave this option disabled.

Configuration key

After you have created the project, you can view the configuration key in your project. Please store this key with your module.

Project logo

After you have created the project, you can upload a logo of your shop or company in the "Extended settings". This logo will be displayed on our payment wizard instead of the registered address.

6. Interface Installation

It is recommended to make a backup copy of your shop and database before you make any changes in your shop system.

6.1. Interface download

To use SOFORT in your shop system please download the latest SOFORT module from the following site: https://drupal.org/project/commerce_sofortbanking.

6.2. SOFORT module upload in  Drupal Commerce

To integrate the interface for SOFORT products, proceed as follows:

  1. Unzip the downloaded module (e.g. with 7-ZIP)
  2. Upload the directory "commerce_sofortbanking" by means of an (S)FTP-program (e.g. Filezilla, ...) to the "[drupal-directory]/sites/all/modules/contrib" folder in your Drupal installation (if the directory "contrib" does not exsit please create it).

6.3. Payment method installation

The next step after uploading the SOFORT module is the installation.

  1. Navigate in the administration backend of your Drupal Commerce -shop to "Site settings > Modules".
  2. Scroll down to the newly uploaded module "Commerce SOFORT", activate the checkbox "Enabled" and confirm by clicking "Save configuration".

7. Module configuration

After successfully uploading and installing the SOFORT module, it can be configured.

7.1. Payment method configuration

  1. Navigate to "Store Settings > Payment methods" in your admin area.
  2. Click the link " SOFORT " at the "Enabled payment method rules". On the following site klick at "Actions" the link "Enable payment method: SOFORT ".
  3. Enter your "Configuration key" from the SOFORT merchant menu in the "Payment settings" and confirm by clicking "Save". Your shop is now ready for payments with SOFORT.
  4. If you want to change further configurations you can use the additional settings:
  • Banner or text in the selection of payment methods: define how the payment method will be displayed in the payment selection in the checkout.
  • Reason 1 and 2: define the reason for SOFORT (you can use replacement parameters that will be set individually per SOFORT transaction).
  • Display buyer protection text/banner: if activated, special buyer protection texts/banners are displayed in the payment selection in the checkout.
  • Recommended payment method: if activated, the payment method is displayed as "recommended payment method".
  • Activate logging: if activated, the API calls will be logged in Drupal. For reasons of data protection, this should only be activated for troubleshooting.
  • Payment status: with the following dropdowns you can define the payment status that will be set at Drupal Commerce depending on the current status at SOFORT.
  • Aborted payment: is set, if the payment via SOFORT is not terminated successfully (timeout or click on the link "Terminate session" on the payment form)
  • Confirmed payment: is set, if the SOFORT transaction has been successfully transmitted to the online banking of your customer.
  • Confirmed payment (not credited yet): is set, if the SOFORT transaction has been successfully transmitted to the online banking of your customer. Is only used if you have a Deutsche Handelsbank account.
  • Receipt of payment: is set, if you received the payment of SOFORT on your Deutsche Handelsbank account. Is only used if you have a Deutsche Handelsbank account.
  • Check order: is set, if you have not received the payment of SOFORT on your Deutsche Handelsbank account. Is only used if you have a Deutsche Handelsbank account.
  • Refund: is set, if you prepared and consolidated the SOFORT transactions for refund in the SOFORT merchant menu.

Information on orders paid by SOFORT can be found in the order overview in "Orders".

8. Testing

In order to check the correct integration in your shopsystem please perform a test transaction by placing an order directly in your shop. The single steps are:

  1. Activate the test mode in the desired project in the SOFORT merchant area.
  2. Place an order in your shop / system and choose SOFORT as the payment method.
  3. In order to simulate German sender bank accounts use "88888888" (8x "8") on our payment form, for Belgium choose "Others" and "999" (3x "9") and for all other countries "00000" (5x "0") or select "Demo Bank". The following requested data can be chosen randomly with at least 4 digits. (Instead of the test bank code a country specific test BIC will shortly be available: "SFRT{ISO-country code}20XXX", e.g. "SFRTDE20XXX" for Germany)
  4. Please check if the redirect works properly:
    1. Redirect after successful payment to success page?
    2. Are all notifications sent properly?
    3. Order in your shopsystem is created correctly and status is updated accordingly?

Note: After successfully testing SOFORT please deactivate the test mode in the project settings in the SOFORT merchant area to prevent customers to simulate payments with the test data.

9. Support & Contact

The ''Direct Bank Transfer'' team will be available if you need help.

You may send us an email at service@sofort.com.

We are also glad to assist you in case of technical issues:

Technical support:
Phone: +49 (0)89 24 88 37 691
Email: integration@sofort.com

Business hours:
Monday to Thursday: 8:30 a.m. to 6:00 p.m.
Friday: 8:30 a.m. to 5:00 p.m.

10. Legal Notice

SOFORT GmbH
Theresienhöhe 12
80339 Munich
Germany

Support for customers
Phone: +49 (0)89 24 88 37 690

Support for merchants
Phone: +49 (0)89 24 88 37 692

info@sofort.com
www.sofort.com

Directors

Felix Würtenberger
Wilhelmus Geerling Klaassen

External Data Protection Officer
Mr. Michael Schramm, LL.M. 
For privacy questions please contact us at: datenschutz@sofort.com

Registered at the District Court Munich
HRB 218675
VAT-ID: DE248376956

© SOFORT GmbH. All rights reserved, including the translation.

The documentation including all published content is protected by copyright. Reprints or reproduction of any kind and processing, duplication, and distribution using electronic systems of any kind shall only be permitted with prior written consent of SOFORT GmbH.

The contents of this documentation and the implementation of the information contained therein may only be used at your own risk. SOFORT GmbH assumes no responsibility for the function of individual programmes or of parts of them. In particular, SOFORT GmbH assumes no responsibility for possible damages resulting from the use.