With this payment gateway you can enable your customers to pay via SOFORT Überweisung. If the customer has selected payment with SOFORT, he will be directed to the SOFORT website where he can enter his account details and make the payment.
This payment gateway supports IPN (Instant Payment Notification). IPN means that the invoice is marked as “Paid” when the payment is successfully executed and the service ordered from you can be executed automatically (provided you have set up automatic execution after receipt of payment in the product configuration).
The data transfer between Blesta and SOFORT takes place via SHA512 hash. Communication with SOFORT takes place via the Classic API.
System requirements
- Runnable Blesta installation 5.4 – 5.6
- Admin access to Blesta
- Installed Ioncube Loader (at least version 12)
- Active account with SOFORT bank transfer
- PHP 7.2 – 7.4 & 8.1
Installation
- Please log in to the customer account at Plambee.de Webhosting
- Download the current version of the payment gateway for SOFORT Überweisung in the product management.
- Unzip the files on your computer and copy the content of the folder into the installation directory of your Blesta installation.
To be able to guarantee the function, please do not rename any folder or file of the payment gateway.
Configuration
Sofort Überweisung
Please log in to the provider menu of SOFORT Überweisung. Here you now have to create a new project with some settings.
- Please click on “New project” in the left menu.
- Now please create an instant classic project.
- Please fill in the general settings and address data.
- In the interface section, please enter the following for the success link https://URL_IHRER_BLESTA_Installation/callback/gw/1/sofort/ where the 1 represents the ID of your company. If you have stored several companies in Blesta, please replace the 1 with the corresponding company ID.
- For the cancellation link, please enter the following https://URL_IHRER_BLESTA_Installation/client/pay/confirm/
- In the Notifications section, please activate the HTTPS notification to the URL https://URL_IHRER_BLESTA_Installation/callback/gw/1/sofort/, whereby the 1 also represents the ID of your company and should be changed accordingly. Please select POST as the method.
- Then click on Save
- You will now find the Project ID in the top right-hand corner.
- Click on Advanced Settings and then on Passwords and Hash Algorithm.
- Generate a project password and store it in the gateway settings of Blesta.
- Activate the input check and select SHA512 as the hash algorithm and save the setting.
Blesta
Before the actual configuration, the payment gateway must be activated in Blesta. To do this, go to Settings → Payment Gateways → Available in the Blesta admin area and click on Install.
After activation, you now have the option of configuring the payment gateway; the displayed fields have the following function:
Password: Project password that you have stored for the project at SOFORT Bank Transfer.
Project ID: The project ID of your project stored at SOFORT Bank Transfer.
Username: Your SOFORT Überweisung customer number (you can find it in the provider area on the top left).
“Identifier“: The value entered here will be appended to the reason for payment. Use the variable %kid% to display the customer number.