1 About Sofort

1.1 General information about Sofort

This manual describes configuring and using the First Cash Solution interface for Sofort:

  • Project setup for Sofort
  • Project setup for Sofort Ident
  • Configuration for iDEAL
  • Parameters of the interface

Logo

InfoType
The international online bank transfer with PIN/TAN from Sofort GmbH is now available in 13 countries. As part of the Klarna Group Sofort offers the integration of payment in the webshop, so that a customer is forwarded to his/her bank and can make the transfer with input of PIN and TAN.Payments by Online Bank Transfer

Further information can be found on the webpage of Sofort (https://www.sofort.com/ger-DE/verkaeufer/su/e-payment-sofort-ueberweisung).

Sofort has several advantages: This method is a prepayment which minimizes the date of payment for the merchant. The customer is using the familiar and trustworthy online banking of its own financial institution, just the same as with online banking.

The 1cs Online Payment System supports Sofort of Sofort GmbH in many countries in Europe. Currently supported countries can be found on the webpage https://www.sofort.com/ger-DE/verkaeufer/su/e-payment-europaweit-mit-sofort-xxl/.

Sofort is a method of bank transfers and is based on online banking. A big advantage is: The customer doesn’t need to register and does not need to create a virtual account, a so called wallet. As the name suggests it is an immediate bank transfer and thus a direct bank transfer. The customer selects Sofort as payment method for their online purchase and is then forwarded to the secure payment form. The bank transfer data is transferred automatically and the customer only has to select his or her bank and enter their login details for online banking. Finally he releases the bank transfer by means of an approval code. All data is send encrypted to the online banking account. The online merchant receives a real-time confirmation of the executed bank transfer. The merchant can execute and dispatch the order immediately delivering goods/services faster. There is no waiting time until the dispatch of the goods like it would be for example in the case of prepayment via bank transfer.

In the Netherlands iDEAL is established as a method for direct bank transfers. The process is similar to other methods for direct bank transfers. Prerequisite for using iDEAL via Sofort is a business account with the Deutsche Handelsbank for receiving payments.

As usual with online banking, the data disclosed in Sofort are encrypted with SSL (Secure Sockets Layer).

1.2 Process flow chart

 

Process flow for Sofort

2 Configuration for Sofort

As online merchants, first you need to setup an account at Sofort on the webpage: https://www.sofort.com/payment/users/register/1stcash_staffel_spezial.

After you have logged in with your customer number and password you can start with the setup and configuration of a Sofort project at https://www.sofort.com/payment/users/login.

Login on the webpage of Sofort

2.1 Create a new project

To setup your project click on the left side below Projects on New project, in the region Sofort Classic project you select the option Sofort and then click alongside on the button Create project.

Choose and create the right project

Then you choose Classic project and click on Create project. In the section of General settings the Project name for your shop is arbitrary. It is recommended to use a meaningful project name so that a customer can recognize it if so. In the combo box Shop system please select First Cash (Payment Service Provider). Select the branch below as well as the more detailed area and input the webpage. As long as the connection should be tested, activate the option Test mode.

Afterwards information about address and bank details have to be entered as well as the preselected currency for customers which the project should use. Please confirm all inputs with a click on the button Save below.

Setup a new project

2.2 Quick setup of the interface

The settings of the interface specify the links needed to redirect the customer correctly back to your shop after the transaction is finished.

The Success link specifies the URL, which is called in case of a successful payment. Please enter the following URL there:

https://www.computop-paygate.com/cbsofort.aspx?result=success&user_id=-USER_ID-&project_id=-PROJECT_ID-&transaction=-TRANSACTION-&sender_holder=-SENDER_HOLDER_URLENCODE-&sender_country_id=-SENDER_COUNTRY_ID-&sender_account_number=-SENDER_ACCOUNT_NUMBER-&sender_bank_name=-SENDER_BANK_NAME_URLENCODE-&sender_bank_code=-SENDER_BANK_CODE-&sender_iban=-SENDER_IBAN-¤cy_id=-CURRENCY_ID-&reason_1=-REASON_1-&reason_2=-REASON_2_URLENCODE-&user_variable_0=-USER_VARIABLE_0-&user_variable_1=-USER_VARIABLE_1-&security_criteria=-SECURITY_CRITERIA-&date=-DATE-&time=-TIME-

Below that the option Automatic redirection must be activated.

The Abort link is used, if the payment is failed and cancelled. Please enter the following URL there:

https://www.computop-paygate.com/cbsofort.aspx?result=cancel&user_id=-USER_ID-&project_id=-PROJECT_ID-&transaction=-TRANSACTION-&sender_holder=-SENDER_HOLDER_URLENCODE-&sender_country_id=-SENDER_COUNTRY_ID-&sender_account_number=-SENDER_ACCOUNT_NUMBER-&sender_bank_name=-SENDER_BANK_NAME_URLENCODE-&sender_bank_code=-SENDER_BANK_CODE-&sender_iban=-SENDER_IBAN-&currency_id=-CURRENCY_ID-&reason_1=-REASON_1-&reason_2=-REASON_2_URLENCODE-&user_variable_0=-USER_VARIABLE_0-&user_variable_1=-USER_VARIABLE_1-&security_criteria=-SECURITY_CRITERIA-&date=-DATE-&time=-TIME-

URL settings for the interface

2.3 Extended settings of the shop system interface

The extended settings of the shop system interface are available only, if the project was created completely before. To open it click on My projects in the menu on the left side below Projects and then to the right of the relevant project on the Edit symbol (green pencil). In the next dialogue open the tab Extended settings. Now follow the link Shop system interface.

In the fields Success link and Abort link please enter the same URLs as already given for the quick setup of the interface. The field HTML info text is not used and remains empty. Besides input the wanted timespan at Timeout in seconds, for example 2400. Then follows the Timeout link:

https://www.computop-paygate.com/cbsofort.aspx?result=timeout&user_id=-USER_ID-&project_id=-PROJECT_ID-&transaction=-TRANSACTION-&sender_holder=-SENDER_HOLDER_URLENCODE-&sender_country_id=-SENDER_COUNTRY_ID-&sender_account_number=-SENDER_ACCOUNT_NUMBER-&sender_bank_name=-SENDER_BANK_NAME_URLENCODE-&sender_bank_code=-SENDER_BANK_CODE-&sender_iban=-SENDER_IBAN-&currency_id=-CURRENCY_ID-&reason_1=-REASON_1-&reason_2=-REASON_2_URLENCODE-&user_variable_0=-USER_VARIABLE_0-&user_variable_1=-USER_VARIABLE_1-&security_criteria=-SECURITY_CRITERIA-&date=-DATE-&time=-TIME-

2.4 Non-changeable parameters

You can configure certain parameters so that the customer cannot change them within the payment form. To do this, check the options Amount and Reference within the corresponding dialog area. The customer must be allowed to change the bank details. Confirm the settings with a click on the button Save.

Selection of non-changeable parameters

2.5 Project logo

It is possible for the merchant to place an individual company logo on the payment pages. Click on the link Project logo in the tab with the extended settings. If a project logo is already assigned, it will be displayed at the top of this dialogue. Then in the section Company logo next to Choose a graphic click on the button Search so you can upload your desired graphic file. Select the further options and confirm the configuration with a click on Save.

Assignment of an individual company logo

2.6 Notifications

Follow the link Notifications within the extended settings tab. The overview shows all the configured notifications. To create a new notification follow the link Add new notification and then activate the tab HTTP. To edit an existing notification click on the Edit symbol (green pencil) to the right of the respective entry.

Make the necessary settings in the section Edit http notification. The following screenshot shows an example.

Edit a notification

Depending on the selected method POST or GET enter the appropriate link as follows.

GET: https://www.computop-paygate.com/sofortcomplete.aspx?security_criteria_text=-SECURITY_CRITERIA_TEXT-

POST: https://www.computop-paygate.com/sofortcomplete.aspx?

Notice: For the http-notification a number of parameters are attached automatically. Therefore the link above is shorter than the link for forwarding.

Notice: For the method „GET” the actually used bank details (customer can change these in the form of Sofort GmbH) are returned masked with „XXX“. With „POST” these parameters are returned in plaintext. Only in this case the parameters are stored and overwrite the values given by the customer if necessary.

The use of other notification types, for example Email, is optional, but not recommended.

2.7 Project password and input check

In order to generate the project password first click on My projects below Projects on the left side. Click on the Edit symbol (green pencil) beside the respective project. In the next dialogue activate the tab Extended settings and follow the link Passwords and hash algorithm. Click on the green button Generate project password and by confirming the following dialogue the project password will be displayed. If a project password is generated already, you can use the link Show current project password at the same place to show it once again. In the same way you also can request or change the notification password.

Edit a project

Please send the password together with your customer number and the project ID to First Cash Solution Support at support@1cs.de, in order to activate this payment method for you within the 1cs Online Payment System.

The Input check must be activated and for the combo box Hash algorithm the value SHA256 must be selected. Confirm the settings with a click on Save.

Using the other settings for bank details, black lists or a master password for the merchant are optional.

Manage passwords

3 Configuration for Sofort Ident

After having logged in with the customer number and password you can start with the setup and configuration of a Sofort Ident project at https://www.sofort.com/payment/users/login. Depending on your contract with Sofort the option Sofort Ident must be activated first under My account – Product activation.

To setup a project click on the left side below Projects on New project, in the section SOFORT Classic project, select the variant Sofort Ident and click on the Create project button.

Choose and create a Sofort Ident project

In the section General settings the Project name for your shop is arbitrary. The connection should be tested. To test this, activate the option Test mode.

After that information about address as well as the Common settings for Sofort Ident are entered. It is important that the Return URL, which redirects the customer back to the shop after the verification with Sofort Ident, is configured. Please enter the following URL there:

https://www.computop-paygate.com/cbsofort.aspx?user_id=-USER_ID-&project_id=-PROJECT_ID-&transaction=-TRANSACTION-&user_variable_0=-USER_VARIABLE_0_URLENCODE-&user_variable_1=-USER_VARIABLE_1_URLENCODE-

Below that the option Automatic redirection must be activated.

The automatically generated values for the Project password as well as for the Notification password are displayed here. The last one is needed for calculating the hash value for notifications.

Please confirm all inputs with a click on the button Save below.

Common settings for Sofort Ident

3.1 Non-changeable parameters

It is possible to fix certain parameters for processing so that the customer cannot change them in the payment form. Please check for example the options First name and Last name within the corresponding dialog area. Confirm the settings with a click on the button Save.

Selection of non-changeable parameters for Ident

3.2 Project logo

It is possible for the merchant to place an individual company logo on the pages. To enable this, click on the link Project logo in the tab with the extended settings. Then below Company logo next to Choose a graphic click on the button Search where you can upload the desired graphic file. Then confirm the configuration with a click on the Save button.

Assignment of an individual company logo

3.3 Notifications

Follow the link Notifications within the extended settings tab. The overview shows all the configured notifications. To create a new notification follow the link Add new notification and then activate the tab HTTP. To edit an existing notification click on the Edit symbol (green pencil) to the right of the respective entry.

Make the necessary settings in the section Edit http notification. The following screenshot shows an example.

Edit a notification

Depending on the selected method POST or GET enter the appropriate link as follows.

GET: https://www.computop-paygate.com/sofortcomplete.aspx?user_id=-USER_ID-&project_id=-PROJECT_ID-&transaction=-TRANSACTION-&user_variable_0=-USER_VARIABLE_0-&user_variable_1=-USER_VARIABLE_1-&firstname=-FIRSTNAME_URLENCODE-&lastname=-LASTNAME_URLENCODE-&birthday=-BIRTHDAY-&city=-CITY-&street=-STREET_URLENCODE-&zipcode=-ZIPCODE_URLENCODE-

POST: https://www.computop-paygate.com/sofortcomplete.aspx?

Notice: For the http-notification a number of parameters are attached automatically. Therefore the link above is shorter than the link for forwarding.

Notice: For the method „GET” the actually used bank details (customer can change these in the form of Sofort GmbH) are returned masked with „XXX“. With „POST” these parameters are returned in plaintext. Only in this case the parameters are stored and overwrite the values given by the customer if necessary.

The use of other notification types, for example Email, is optional, but not recommended.

3.4 Project password and input check

For Sofort Ident the passwords are always generated with the creation of a project. In order to display the project password and the notification password please select My projects below Projects on the left side. Click on the Edit symbol (green pencil) beside the respective project. In the next dialogue activate the tab Extended settings and follow the link Passwords and hash algorithm. With a click on the green button Generate project password and confirming of the following dialogue you can generate a new project password. To display again an already existing project password follow the link Show current project password. You can also request or change the notification password.

Please send both passwords together with your customer number and the project ID to First Cash Solution’s Support at support@1cs.de, in order to activate this payment method within the 1cs Online Payment System.

The Input check must be activated and for the combo box Hash algorithm the value SHA256 must be selected. Confirm the settings with a click on Save.

Manage passwords

4 Configuration for iDEAL

iDEAL can also be used via Sofort. This product needs to be activated in your Sofort account. It is then possible to create a separate project for iDEAL. Merchants need a business account with the Deutsche Handelsbank for using iDEAL via Sofort.

In the menu on the left side click on Product activation below My account. Choose the product iDEAL and then click on the button Binding product activation.

Product activation of iDEAL

4.1 Create a project

Next step is creating a new separate project for iDEAL. Therefore click on the left side on New project below Projects, choose the variant iDEAL in the section Sofort Classic project and click to the right to on the button Create project.

For an iDEAL project you need to have an account with the Deutsche Handelsbank. If you already have an account please select the option I have a Sofort Bank account and click on Next. Otherwise select the option I do not have a Sofort Bank account and click on Next. Then follow the steps for account setup.  

Create a project for iDEAL

In the section of General settings the Project name for your shop is arbitrary. In the combo box Shop system please select Own Shop-System (self programmed). As long as the connection should be tested, activate the option Test mode. Further information about address and bank details are transferred automatically.

General settings for the iDEAL project

4.2 Settings of the interface

The settings of the interface specify the links needed to redirect the customer back to the shop after the transaction is finished.

The Success link specifies the URL, which is called in case of a successful payment. Please enter the following URL there:

https://www.computop-paygate.com/cbsofort.aspx?result=success&user_id=-USER_ID-&project_id=-PROJECT_ID-&transaction=-TRANSACTION-&sender_holder=-SENDER_HOLDER_URLENCODE-&sender_country_id=-SENDER_COUNTRY_ID-&sender_account_number=-SENDER_ACCOUNT_NUMBER-&sender_bank_name=-SENDER_BANK_NAME_URLENCODE-&sender_bank_code=-SENDER_BANK_CODE-&sender_iban=-SENDER_IBAN-&currency_id=-CURRENCY_ID-&reason_1=-REASON_1-&reason_2=-REASON_2_URLENCODE-&user_variable_0=-USER_VARIABLE_0-&user_variable_1=-USER_VARIABLE_1-&security_criteria=-SECURITY_CRITERIA-&date=-DATE-&time=-TIME-&status=-status-&user_variable_5=-USER_VARIABLE_5-

The option Automatic redirection must be activated.

The Abort link is used, if the payment is failed and cancelled. Please enter the following URL there:

https://www.computop-paygate.com/cbsofort.aspx?result=cancel&user_id=-USER_ID-&project_id=-PROJECT_ID-&transaction=-TRANSACTION-&sender_holder=-SENDER_HOLDER_URLENCODE-&sender_country_id=-SENDER_COUNTRY_ID-&sender_account_number=-SENDER_ACCOUNT_NUMBER-&sender_bank_name=-SENDER_BANK_NAME_URLENCODE-&sender_bank_code=-SENDER_BANK_CODE-&sender_iban=-SENDER_IBAN-&currency_id=-CURRENCY_ID-&reason_1=-REASON_1-&reason_2=-REASON_2_URLENCODE-&user_variable_0=-USER_VARIABLE_0-&user_variable_1=-USER_VARIABLE_1-&security_criteria=-SECURITY_CRITERIA-&date=-DATE-&time=-TIME-&status=-status-&user_variable_5=-USER_VARIABLE_5-

Finally click on the Save button to create the iDEAL project.

URL settings for the interface

4.3 Notifications

Open the respective project for editing and then activate the tab Extended settings. There click on the link Notifications and then follow the link Add new notification.

On this page activate the tab HTTP with payment status. Now select the checkbox Activated as well as inside the group Active for the single checkboxes Payment pending, Payment received, Payment not received and Transaction refunded. Below enter the value https://www.computop-paygate.com/sofortcomplete.aspx? as Notification URL. Now choose the method POST with the option and complete the configuration with a click on the button Save.

Create a notification

4.4 Passwords and Hash algorithm

Open the respective project for editing. Then activate the tab Extended settings and click on the link Passwords and hash algorithm. With the link Show current project password you can display the stored password. Please send this password together with your customer number and the project ID to the 1cs Helpdesk in order to activate this payment method for you within the 1cs Online Payment System.

Moreover in the section Input check select the value SHA256 in the combo box Hash algorithm. Confirm this setting with a click on Save.

Configure input check

4.5 Project overview

To display an overview of all data click on My projects in the section Projects in the main menu on the left side. Here you find your Customer number and the Project ID’s for all your projects. You might need these data to setup the payment methods within the 1cs OPS.

Overview of your created projects

5 1cs Online Payment System interface

5.1 Definitions

5.1.1 Data formats

FormatDescription
aalphabetical
asalphabetical with special characters
nnumeric
analphanumeric
ansalphanumeric with special characters
nsnumeric with special characters
boolboolean expression (true or false)
3fixed length with 3 digits/characters
..3variable length with maximum 3 digits/characters
enumenumeration of allowed values
dttmISODateTime (YYYY-MM-DDThh:mm:ss)

5.1.2 Abbreviations

AbbreviationDescriptionComment
CNDcondition 
MmandatoryIf a parameter is mandatory, then it must be present
OoptionalIf a parameter is optional, then it can be present, but it is not required
CconditionalIf a parameter is conditional, then there is a conditional rule which specifies whether it is mandatory or optional

Notice: Please note that the names of parameters can be returned in upper or lower case.

5.2 Calling the interface

To carry out an online transfer with Sofort, go to the following URL:

https://www.computop-paygate.com/sofort.aspx

Notice: For security reasons, the 1cs Online Payment System rejects all payment requests with formatting errors. Therefore, please use the correct data type for each parameter.

The following table describes the encrypted payment request parameters:

KeyFormatCNDDescription
MerchantIDans..30MMerchantID, assigned by First Cash Solution. Additionally this parameter has to be passed in plain language too.
TransIDans..64MTransactionID which should be unique for each payment
RefNrns..30OMerchant’s unique reference number Only ASCII characters are allowed. Special characters such as (“umlauts”, …) are not permitted and may have to be replaced by ASCII characters (e.g. ü → ue, é → e, …).
Amountn..10MAmount in the smallest currency unit (e.g. EUR Cent). Please contact the 1cs support, if you want to capture amounts <100 (smallest currency unit).
Currencya3MCurrency, three digits DIN / ISO 4217, e.g. EUR, USD, GBP. Please find an overview here: A1 Currency table EN
OrderDescans..384MReason for payment on customer-account statement. Notice: Only the first 27 characters appear on the customer-account statement. You can view the full data in First Cash Solution Analytics.
OrderDesc2ans..384OSecond row of reason for payment on customer-account statement. Notice: Only the first 27 characters appear on the customer-account statement. You can view the full data in First Cash Solution Analytics.
Sofortactionans..10O„Ident“ for Sofort Ident or „ideal“ for Sofort iDEAL
IssuerIDans..30OID of the bank through which iDEAL transfers are to be made; obligatory in case of Sofortaction=ideal Following IssuerIDs are available: RABONL2U    Rabobank
INGBNL2A     ING
ABNANL2A    ABN Amro
ASNBNL21     ASN Bank
SNSBNL2A     SNS Bank
RBRBNL21      Regiobank
TRIONL2U     Triodos Bank
FVLBNL22      Van Lanschot Bankiers
KNABNL2H     Knab
BUNQNL2A    bunq
MOYONL21    Moneyou
Timeoutn4OValidity of transaction in seconds with Sofort GmbH. We recommend a maximal value of 2400 seconds.
AccNrn..12OAccount number of the user which appears predefined in the transfer window
AccOwneras..50OName of account holder
IBANan..34OIBAN of the user which appears predefined in the transfer window
BICan..11OBIC of the user which appears predefined in the transfer window
AccIBANans..8OBank sort code of the user which appears predefined in the transfer window. 8-digit in DE, 5-digit in AT, 3-digit in BE, 5-digit in FR, 6-digit in GB and 6-digit in NL The following values apply in NL: NL_102 (Fortis Bank); NL_103 (ABN Amro Bank), NL_104 (Sns Bank), NL_106 (ING Bank), NL_109 (Sns Regio Bank)
AccBankans..50OName of the bank of the user which appears predefined in the transfer window
Emailans..255OEmail address of the customer
AddrCountryCodea2MTwo characters country code according to ISO 3166. Presently DE, AT, BE, NL, ES, CH, PL, IT permitted.
Languagea2OLanguage: de – German, en – English, fr- French, nl – Dutch, pl – Polish
MACan64MHash Message Authentication Code (HMAC) with SHA-256 algorithm. Details can be found here: HMAC Authentication (Request) HMAC Authentication (Notify)
URLSuccessans..256MComplete URL which calls up the 1cs Online Payment System if payment has been successful. The URL may be called up only via port 443 This URL may not contain parameters: In order to exchange values between the 1cs Online Payment System and shop, please use the parameter UserData. General notes: We recommend to use parameter “response=encrypt” to get an encrypted response by 1cs Online Payment system However, fraudster may just copy the encrypted DATA-element which are sent to URLFailure and send the DATA to URLSuccess. Therefore ensure to check the “code”-value which indicates success/failure of the action. Only a result of “code=00000000” should be considered successful.
URLFailureans..256MComplete URL which calls up the 1cs Online Payment System if payment has been unsuccessful. The URL may be called up only via port 443 This URL may not contain parameters: In order to exchange values between the 1cs Online Payment System and shop, please use the parameter UserData. General notes: We recommend to use parameter “response=encrypt” to get an encrypted response by 1cs Online Payment system However, fraudster may just copy the encrypted DATA-element which are sent to URLFailure and send the DATA to URLSuccess. Therefore ensure to check the “code”-value which indicates success/failure of the action. Only a result of “code=00000000” should be considered successful.
Responsea7OStatus response sent by the 1cs Online Payment System to URLSuccess and URLFailure, should be encrypted. For this purpose, transmit Response=encrypt parameter.
URLNotifyans..256MComplete URL which the 1cs Online Payment System calls up in order to notify the shop about the payment result. The URL may be called up only via port 443 It may not contain parameters: Use the UserData parameter instead. General notes: We recommend to use parameter “response=encrypt” to get an encrypted response by 1cs Online Payment system However, fraudster may just copy the encrypted DATA-element which are sent to URLFailure and send the DATA to URLSuccess. Therefore ensure to check the “code”-value which indicates success/failure of the action. Only a result of “code=00000000” should be considered successful.
UserDataans..1024OIf specified at request, the 1cs Online Payment System forwards the parameter with the payment result to the shop
ReqIDans..32OTo avoid double payments, enter an alphanumeric value which identifies your transaction and may be assigned only once. If the transaction is submitted again with the same ReqID, the 1cs Online Payment System will not carry out the payment, but will just return the status of the original transaction. Please note that the 1cs OPS must have a finalized transaction status for the first initial action. Submissions with identical ReqID for an open status will be processed regularly. Notice: Please note that a ReqID is only valid for 12 month, then it gets deleted at the 1cs Online Payment System.
UserIDn..5OCustomer number
ProjectIDn..5OProject number
FirstNameas..30OCOnly with Sofort Ident: First name
LastNameas..30OCOnly with Sofort Ident: Last name
AddrStreetans..30OCOnly with Sofort Ident: Street
AddrCityans..30OCOnly with Sofort Ident: City
AddrZipn..5OCOnly with Sofort Ident: Postcode
Birthdaydttm8OCOnly with Sofort Ident: Date of birth in the format YYYYMMDD

Request parameters for Sofort

The following table gives the result parameters which 1cs Online Payment System transmits to URLSuccess or URLFailure and URLNotify. If you have specified the Response=encrypt parameter, the following parameters are sent Blowfish encrypted to your system:

hinweispls. be prepared to receive additional parameters at any time and do not check the order of parameters

hinweisthe key (e.g. MerchantId, RefNr) should not be checked case-sentive>

KeyFormatCNDDescription
MIDans..30MMerchantID, assigned by First Cash Solution
PayIDan32MID assigned by the 1cs Online Payment System for the payment. For example for referencing in batch files as well as for capture or credit request.
XIDan32MID for all single transactions (authorisation, capture, credit note) for one payment assigned by the 1cs Online Payment System
TransIDans..64MTransactionID provided by you which should be unique for each payment
Statusa..50MOK or AUTHORIZED (URLSuccess) as well as FAILED (URLFailure)
Descriptionans..1024MFurther details in the event that payment is rejected. Please do not use the Description but the Code parameter for the transaction status analysis!
Coden8MError code according to the 1cs Online Payment System Response Codes Excel file
TransactionIDans..27MUnique transaction ID assigned by Sofort GmbH
SecCriterian1MReceipt of money according to Sofort <1> guaranteed, <0> not guaranteed. If the value is 0 please wait for receipt before dispatching the goods.
AccOwneras..50MName of account holder
AccNrn..12MAccount holder’s account number
AccIBANan..8MBank sort code of the account holder
AccBankans..50MName of the account holder’s bank
IBANan..34MInternational Bank Account Number
BICan..11MBank Identifier Code
Emailans..255OEmail address of the customer
UserDataans..1024OIf specified upon call, the 1cs Online Payment System forwards the parameter with the payment result to the shop
FirstNameas..30COnly with Sofort Ident: First name
LastNameas..30COnly with Sofort Ident: Last name
AddrStreetans..30COnly with Sofort Ident: Street
AddrCityans..30COnly with Sofort Ident: City
AddrZipn..5COnly with Sofort Ident: Postcode
Birthdaydttm8COnly with Sofort Ident: Date of birth
Agen..3COnly in case of success with Sofort Ident: Age

Result parameters for URLNotify, URLSuccess and URLFailure in case of Sofort

5.3 Credit with Sofort

Credits (refunds) are possible via a Server-to-Server connection. The 1cs Online Payment System permits credits which relate to a capture previously activated by the 1cs Online Payment System and allows merchants to carry out credits without a reference transaction. In order to make a credit you need to have an account with the Deutsche Handelsbank.

The necessary API key for communication you will find in the menu of your Sofort account in the section Further services at API-Key:

To carry out a credit with a reference transaction, please use the following URL:

https://www.computop-paygate.com/credit.aspx

Notice: For security reasons, the 1cs Online Payment System rejects all payment requests with formatting errors. Therefore, please use the correct data type for each parameter.

The following table describes the encrypted payment request parameters:

KeyFormatCNDDescription
MerchantIDans..30MMerchantID, assigned by First Cash Solution. Additionally this parameter has to be passed in plain language too.
PayIDan32MID assigned by 1cs Online Payment System for the payment to be credited
TransIDans..64MTransactionID provided by you which should be unique for each payment
MACan64MHash Message Authentication Code (HMAC) with SHA-256 algorithm. Details can be found here: HMAC Authentication (Request) HMAC Authentication (Notify)
Amountn..10MAmount in the smallest currency unit (e.g. EUR Cent) Please contact the helpdesk, if you want to capture amounts < 100 (smallest currency unit).
Currencya3MCurrency, three digits DIN / ISO 4217, e.g. EUR, USD, GBP. Please find an overview here: A1 Currency table EN
OrderDescans..768OCDescription of refunded goods, unit prices, merchant’s comment etc.
CredNoansOCCredit number. Will be set to “0” if not transmitted.
ReqID
ans..32OTo avoid double payments / actions, enter an alphanumeric value which identifies your transaction and may be assigned only once. If the transaction / action is submitted again with the same ReqID, 1cs OPS will not carry out the payment or new action, but will just return the status of the original transaction / action. Please note that the 1cs OPS must have a finalized transaction status for the first initial action. Submissions with identical ReqID for an open status will be processed regularly. Notice: Please note that a ReqID is only valid for 12 month, then it gets deleted at the 1cs Online Payment System.

Parameters for credits via socket connections

The following table gives the result parameters which 1cs Online Payment System transmits to URLSuccess or URLFailure and URLNotify. If you have specified the Response=encrypt parameter, the following parameters are sent Blowfish encrypted to your system:

hinweispls. be prepared to receive additional parameters at any time and do not check the order of parameters

hinweisthe key (e.g. MerchantId, RefNr) should not be checked case-sentive>

KeyFormatCNDDescription
MIDans..30MMerchantID, assigned by First Cash Solution
PayIDan32MID assigned by the 1cs Online Payment System for the payment, e.g. for referencing in batch files as well as for capture or credit request.
XIDan32MID for all single transactions (authorisation, capture, credit note) for one payment assigned by the 1cs Online Payment System.
TransIDans..64MTransactionID which should be unique for each payment
Statusa..50MOK (URLSuccess) or FAILED (URLFailure)
Descriptiona..1024MFurther details in the event that payment is rejected. Please do not use the Description but the Code parameter for the transaction status analysis!
Coden8MError code according to the 1cs Online Payment System Response Codes Excel file

Response parameters for credits with Sofort via socket connections