Document Tree
Document Properties
Kbid
31125F
Last Modified
02-Feb-2024
Added to KB
02-Feb-2024
Public Access
Everyone
Status
Online
Doc Type
Release Notes
Product
  • ICM 11
  • PAYONE
Related Product
Public Release Note - PAYONE Service Connector 7

Introduction

Welcome to the Intershop Commerce Management PAYONE Service Connector. The Service Connector adds PAYONE payment methods to your Intershop Commerce Management (ICM) installation.

This document provides important product information, including version information and dependencies. It also outlines the basic setup and configuration steps.

Version Information and Dependencies

This release and the accompanying documentation are valid for the following combinations of software versions:

IntershopPAYONE Service Connector
ICM 11.87.0.1

PAYONE Connector version 7.0.1 provides the same functionality as PAYONE Connector 6.1.1 for the supported payment methods to facilitate the migration from ICM 7.10.31+ to ICM 11.8+.

The next table provides information about the cartridges included in the package. Not all of these cartridges are required.

CartridgeDescriptionRequired
ac_payment_payoneIncludes all base functionality and business logic which is used.(tick)

The PAYONE Service Connector 7.x is based on the PAYONE Payment API 3.4.

 Preconditions

  • The PAYONE Service Connector requires an installed Intershop Commerce Management system. See version numbers above.
  • Using the PAYONE Service Connector requires a dedicated payment provider contract with vendor PAYONE.
    Make sure to contact PAYONE to negotiate and sign your payment provider contract.

Supported Application Types

The PAYONE Service Connector can be used for the following application types:

Application TypeApplication Type IDDescription
Progressive Web App intershop.REST

Progressive Web App endpoint for B2C/B2B channel

Supported payment methods:

  • Credit Card
  • PayPal
  • Invoice
  • PostFinance Card
  • SOFORT Banking
  • iDEAL

Feature Overview

This section summarizes important features delivered with the PAYONE Service Connector.


Payment Methods

The PAYONE Service Connector adds the following payment methods to your Intershop Commerce Management system:

Payment Method TypeDetails
PayPalPayPal
Online PaymentSOFORT Überweisung
Credit CardCredit Card payment with:
  • Visa
  • Mastercard
  • American Express
  • Carte Bleue
  • Diners Club
  • Discover
  • JCB
  • Maestro International

This payment method uses PAYONE iFrames to enable compliance with PCI-DSS. It supports 3DS version 1.0 and 2.0.

Account Based PaymentInvoice
Online PaymentiDEAL
PostFinance Card

Intershop's customers can safely use Intershop Commerce Management in PCI certified environments without impacting their certification status. Furthermore, Intershop Commerce Management provides features and configurability needed to implement all the requirements of the PCI Compliance program.

Payment Management Options

The following table lists all options that are available for payment transactions.

OperationDescription
CaptureRequest for settling the payment. This action is only available if the corresponding payment method's capture mode is set to manual.
CancelRequest for abandoning a payment settlement. This action is only available if the corresponding payment method's capture mode is set to manual.
RefundOption to return (parts of) the capture amount.

There are certain limitations regarding the implemented capabilities, see Restricted Capabilities.

Setup

The customization image for the PAYONE Connector is available in Intershop's public repository. To add the customization image for the PAYONE Connector to your project, add it to the dependencies of your customization. To achieve this, several steps are required:

  1. Register customization image in your main build.gradle.kts:

    val icmDockerRegistry = "docker.tools.intershop.com/icm/intershophub"
    // specified in gradle.properties
    val payoneConnectorVersion: String by project
    
    intershop {
        projectConfig {
            modules {
                // ... other modules ...
    
                register("payone") {
                    dependency.set("com.intershop.services.payment_payone:payone:${payoneConnectorVersion}")
                    image.set("${icmDockerRegistry}/icm-as-customization-payone:${payoneConnectorVersion}")
                    testImage.set("${icmDockerRegistry}/icm-as-customization-payone:${payoneConnectorVersion}")
                }
            }
        }
    }
    
    subprojects {
        // ... other settings ...
     
        plugins.withType<JavaPlugin> {
            dependencies {
                // ... other dependencies ...
     
                cartridge(platform("com.intershop.services.payment_payone:versions:${payoneConnectorVersion}"))
                implementation(platform("com.intershop.services.payment_payone:versions:${payoneConnectorVersion}"))
             }
        }
    }


  2. Add dependencies to the PAYONE feature to your project's feature definition (e.g., ft_myproject/build.gradle.kts):

    dependencies {
        // base on ICM AS
        cartridgeRuntime ("com.intershop.icm:ft_icm_as")
        
        // ... more dependencies ...
    
        // PAYONE Connector
        cartridgeRuntime ("com.intershop.services.payment_payone:ft_payone")
    }


    To include the PAYONE feature, add your project's feature definition cartridge to your development configuration within your main build.gradle.kts. If you need additional feature cartridges for local development, you can add them here as well.

    intershop_docker {
        // ... other configuration ... 
        developmentConfig {
            appserverAsContainer = true
            cartridgeList.set(setOf("ft_myproject"))
            // alternative scenario using a feature cartridge where payone isn't included as a runtime dependency:
            // cartridgeList.set(setOf("ft_payone", "ft_my_other_feature_cartridge_dev"))
            testCartridgeList.set(setOf("ft_mytest"))
        }
    }
  3. Start your application server
    There are several ways to do so. The three main use cases are:

    1. Development mode:

      1. Use Gradle to manage the server instance by using the command:
        gradlew startAS

      2. Run gradlew tasks to see available tasks or check for further options.

    2. Local Docker environment using docker-compose:
      Adapt the used compose file in order to tell ICM which cartridges to load. Therefore, use the environment variable CARTRIDGE_LIST of the app server:

      version: "3.8"
      services:
        customize-payone:
          image: icm-as-customization-payone:<TAG>
          volumes:
            - customizations:/customizations
        # ... other services ...
        appserver:
          # ... other appserver settings ...
          container_name: appserver
      
          environment:
            # ... more environment variables ...
            # example cartridge list (assuming the PAYONE Connector (ft_payone) is already defined as dependency). Please adapt to your needs.
            CARTRIDGE_LIST: "ft_myproject"    
      
      # ... more configuration ...
    3. Production environment using Helm charts:
      If Helm is used to manage the ICM instances, the cartridge list will need to be adjusted. Please follow Concept - Customization ICM 11 - Deployment to add the PAYONE Connector cartridges to that list.

For details on managing the artifacts, see:


Configuration

Transaction Status Notifications

The PAYONE platform uses an asynchronous way to notify the ICM of changes to a transaction. We call these "notifications".

A REST endpoint to where PAYONE should send the notifications to is provided by the connector. Its default location is https://<host>:<port>/INTERSHOP/rest/WFS/<Site>/-/payment/payone/notifications

This URL must be set as the TransactionStatus URL in the PAYONE Shop Portal (see following section).

All incoming notifications are checked for authenticity to prevent fraudulent requests. Among other things, the source IP and User Agent of the notification requests are checked. By default, notifications are expected to be sent as HTTPS POST request from an IP address starting with 185.60.20 and user agent "PAYONE FinanceGate". Both values can be configured using the following keys:

Configuration KeyDescriptionDefault Value
intershop.payment.payone.notification.ip_prefixIP address prefix of incoming notification request.185.60.20
intershop.payment.payone.notification.user_agentUser agent of incoming notification request.PAYONE FinanceGate

If an incoming notification is rejected, a corresponding WARN message is logged.


Adjusting Firewall Settings

Adjust your firewall settings to allow bidirectional HTTP and HTTPS traffic between Intershop Commerce Management and:

  1. api.pay1.de/post-gateway/
  2. secure.pay1.de/client-api/

Make sure that the Notifications REST endpoint (https://<host>:<port>/INTERSHOP/rest/WFS/<Site>/-/payment/payone/notifications) is accessible from the configured PAYONE Notification IP address (default: 185.60.20.0/24) only.

Applying UI-Based Configuration

The PAYONE Service Connector requires some post-deployment configurations in Organization Management and Commerce Management.

Please consult the PAYONE documentation for information on how to set up your payment portal.

Configuring the PAYONE Shop Portal

In addition to the standard PAYONE shop portal configuration described in the PAYONE documentation, you should also configure the TransactionStatus URL.

ExplanationImage

PAYONE Merchant Interface (PMI): https://login.pay1.de/

1. Log in with your username and password.

A secure code will be sent to your e-mail address.

2. Insert the security code from the e-mail and complete the login.

3. Click Configuration.

4. Click Payment Portals.

5. Select your portal and click Edit.

6. Click Extended.

7. Enter a valid Success URL.

8. Enter a valid Back URL.

9. Enter a valid TransactionStatus URL.

(Set the TransactionStatus URL to point to the notification resource.
Assuming there is no URL rewriting, it should look similar to this: https://<host>:<port>/INTERSHOP/rest/WFS/<Site>/-/payment/payone/notifications.)

10. If not present yet, generate a key.

11. Click Save.

The two URLs (success, back) are fallbacks in case the three return URLs are not provided in the requests when the payment is created. ICM always sets these values and the URLs set in the PMI are not used. However, they must be valid to meet PAYONE's requirements.

Enabling and Configuring a Payment Service

Check Recipe - Enable a Payment Service in Cookbook - Payment to get detailed instructions about enabling and configuring a payment service.


Payment-Method-Specific Settings:
NameDescription
Merchant-IDYour merchant account's merchant ID as provided by PAYONE.
Portal-IDYour merchant account's portal ID as provided by PAYONE.
Sub-Account-IDYour merchant account's sub account ID as provided by PAYONE.
Portal-KeyYour merchant account's portal key as provided by PAYONE (unencrypted).
EnvironmentSwitch between productive and test environment (Test is set as default).
Select Live on the live system. Keep Test for the test environment.
Base URLPAYONE Gateway URL.
CaptureThis describes the capture mode (Manual, Auto). If Timed is used you must set a Capture Time in Hours.
For all online payment methods (SOFORT Überweisung, iDeal and Post-Finance Card) capture must be set to Auto.
Bank Account CheckIf checked, the bank account check is enabled. This is currently not used by any of our supported payment methods.
Submit Order DetailsIf checked, product line items are transmitted to PAYONE.
Use PAYONE Mandate ManagementEnables the usage of PAYONE mandate management. This is currently not used by any of our supported payment methods.
Download mandate as PDFEnables the download of PAYONE mandate as PDF. This is currently not used by any of our supported payment methods.
Ask For CVCAsk for Card Security Code (CVC/CSC/CVV/CID). Available for Credit Card.


You can see the required PAYONE values below the API-Parameter tab of your PAYONE shop portal.

File-Based Configuration

A part of the payment method configuration is not meant to be changed in the Commerce Management application and is available through server properties. These properties are read using the configuration framework and as such can be overridden for an application type. They can be overwritten within your custom cartridges <cartridge_name>/src/main/resources/cartridges/<cartridge_name>.properties or by specifying properties files under <cartridge_name>/src/main/resources/resources/<cartridge_name>/config.

For more information on the configuration framework, check Concept - Configuration and Cookbook - Configuration.

Supported Currencies

The PAYONE Service Connector requires the following settings for the currencies you want to support:

PropertyDescriptionValue
intershop.payment.Payone_CreditCard.currenciesDefines which currencies are configurable for PAYONE Credit Card. Default: all.comma-separated list, e.g., EUR, USD
intershop.payment.Payone_IDeal.currenciesDefines which currencies are configurable for PAYONE iDEAL. Default: EUR.comma-separated list, e.g., EUR
intershop.payment.Payone_Invoice.currenciesDefines which currencies are configurable for PAYONE Invoice. Default: EUR.comma-separated list, e.g., EUR
intershop.payment.Payone_PayPal.currenciesDefines which currencies are configurable for PAYONE PayPal. Default: all.comma-separated list, e.g., EUR, USD
intershop.payment.Payone_PostFinance_Card.currenciesDefines which currencies are configurable for PAYONE PostFinance Card. Default: EUR & CHF.comma-separated list, e.g., EUR, CHF
intershop.payment.Payone_Sofort.currenciesDefines which currencies are configurable for PAYONE SOFORT Überweisung. Default: EUR.comma-separated list, e.g., EUR


Credit Card iFrame Styles

For the configuration of the styles, the credit card payment method can be adjusted with the following properties:

PropertyValuesDescription
payment.payone.creditcard.<field>.sizePositive numberDetermines the size of the input field. Default = 4
payment.payone.creditcard.<field>.maxlengthPositive numberDetermines the length of the input field. Default = 4
payment.payone.creditcard.<field>.widthStringDetermines the width of the iframe that holds the field. The unit of the width has to be specified the same way as it would be specified in a CSS style (e.g., 60px).
payment.payone.creditcard.defaultStyle.heightStringDetermines the height of the iframe that holds the field. The unit of the height has to be specified the same way as it would be specified in a CSS style, Default = 34px
payment.payone.creditcard.defaultStyle.widthStringDetermines the width of the iframe that holds the field. The unit of the width has to be specified the same way as it would be specified in a CSS style. Default = 250px
payment.payone.creditcard.defaultStyle.inputStringDefault CSS style to be used with text fields.
payment.payone.creditcard.defaultStyle.selectStringDefault CSS style to be used with select fields.

<field> identifies which PAYONE credit card field is affected by the property. Supported values are cardtypes, cardnumber, cardcvc2, cardexpiremonth, cardexpireyear, e.g., payment.payone.creditcard.cardcvc2.width.

Supported Countries

For each payment method a list of supported countries can be defined. A comma-separated list of ISO 3166 ALPHA 2 country codes (also see PAYONE API documentation) is valid. The value '*' can be used if there is no restriction.

PropertyDefault

intershop.payment.Payone_Sofort.countries

AT,DE,CH,NL

intershop.payment.Payone_IDeal.countries

NL

intershop.payment.Payone_PostFinance_Card.countries

CH

intershop.payment.Payone_PayPal.countries

*

intershop.payment.Payone_Invoice.countries

*
intershop.payment.Payone_CreditCard.countries*

See Supported Countries and Currencies for further information about payment method specifics.

Localization

The PAYONE Service Connector provides English and German localization for payment-specific input field labels, error messages, etc.

You can overwrite the existing localizations in the back office within your custom cartridge.

For details about localization, see:

Data Handling

The following table describes transmitted data by the PAYONE Service Connector from ICM to PAYONE during the payment process:


DescriptionPAYONE Payment Methods


InvoiceCredit CardPaypalSofortIdealPostFinance Card
AmountThe amount for the transaction

(tick)

(tick)

(tick)

(tick)

(tick)

(tick)

Currency Currency code e.g. EUR/USD

(tick)

(tick)

(tick)

(tick)

(tick)

(tick)

Customer details (e-mail, first name, last name)Customer e-mail, customer first name, and last name

(tick)

(tick)

(tick)

(tick)

(tick)

(tick)

reference (order id)Order reference generated by the merchant

(tick)

(tick)

(tick)

(tick)

(tick)

(tick)

Address details (street, zip, city, country)Invoice and shipping address details provided by the user (optional and configurable in back office)

(question)

(question)

(question)

(question)

(question)

(question)

de[line item details]Array of product attributes, e.g. product name, value, discount, gift card (optional and configurable in back office)

(question)

(question)

(question)

(question)

(question)

(question)

bankgrouptypeIssuer of online bank transfer

(error)

(error)

(error)

(error)

(tick)

(error)

bankcountryCountry of the bank

(error)

(error)

(error)

(tick)

(error)

(tick)

Credit card details

Card number, CVC, expiry date

Sensitive data is handled via PayGate iframes only and is never stored at the merchant.

(error)

(tick)

(error)

(error)

(error)

(error)

languageLanguage indicator to specify the language that should be presented to the customer

(tick)

(tick)

(tick)

(tick)

(tick)

(tick)

Browser informationBrowser details such as javaEnabled, language, colorDepth, timezone, screenHeight, screenWidth, windowSize 

(error)

(tick)

(error)

(error)

(error)

(error)

 SymbolDescription

(tick)

Transmitted

(error)

Not Transmitted

(question)

Optional

Limitations

Gross Price and Taxation Calculation

The PAYONE payment service requires a gross-based price and tax calculation. That is, the price type and the price display must be set to gross, and a gross-based taxation service must be enabled.

Supported Countries and Currencies

Most of the payment methods included in this package are specific for certain countries or currencies.

Payment MethodSupported CountriesSupported Currencies
iDEALNLEUR
PostFinance CardCHEUR, CHF
SOFORT ÜberweisungDE, AT, CH, NLEUR
Invoice*EUR
PayPal**
Credit card**

Restricted Capabilities

  • Cancel: No "cancel" capability for iDEAL, PostFinance Card and SOFORT Überweisung implemented.

Length of E-Mail Addresses

The length of e-mail addresses is limited to 50 characters on PAYONE side. Only 48 of these characters are usable, because the at sign (@) is being replaced by escape characters.

Changelog

Version PAYONE/7.0.1

  • Migrated the connector to an ICM 11 customization
  • Implemented notification REST resource
Disclaimer
The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Web site, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.
The Intershop Knowledge Portal uses only technically necessary cookies. We do not track visitors or have visitors tracked by 3rd parties. Please find further information on privacy in the Intershop Privacy Policy and Legal Notice.
Home
Knowledge Base
Product Releases
Log on to continue
This Knowledge Base document is reserved for registered customers.
Log on with your Intershop Entra ID to continue.
Write an email to supportadmin@intershop.de if you experience login issues,
or if you want to register as customer.