worldline
Sign up

Introduction

Our SAP Commerce Cloud plug-in comes with regular updates and full integration support, offering a versatile out-of-the-box solution to accept online payments easily:

  • Supports both Hosted Checkout Page and Hosted Tokenization Page integration methods.
  • Manages multiple stores.
  • Accepts payment operations (Refunds, authorisations, captures etc.) directly from your SAP Commerce Cloud Backoffice.

Find the complete list of payment methods the plugin supports in our payment methods overview.

Keep an eye on our Release Notes to stay informed about updates and new features (i.e. payment methods, features, integration methods) we have added to this plugin!

Check out our documentation to learn how to link your store with our platform to profit from all these features!

Download Plugin (7.0) Download plugin (7.0 JDK 21) Download from GitHub
  • Entrust a system administrator with the installation and configuration of the plugin. Accordingly, the target audience of this documentation is system administrators with a profound knowledge of SAP Commerce Cloud / Hybris.

Account Creation

To process transactions with this plugin, you need an account on our platform.

This plugin works with both our test and live environment. A test account is a great way to get familiar with both the plugin and our platform. Once you want to go live, create a production account or contact us!

Plugin code modifications void technical support

For security and stability, Worldline does not support plugins whose code has been modified by the merchant or a third party. Plugins are provided as-is (official version). Any unauthorised modification voids support and warranty and may cause malfunctions, security gaps, or incompatibilities with PSP updates.

Installation

  1. Install plugin
  2. Configuration
  3. Manage payments

Install plugin

The first step to use the plugin is the installation process. Before you proceed, make sure your infrastructure meets these system requirements:

Item Description
Plugin package

Download the plugin

Worldline credentials
Java

Must be version 17, SapMachine 17 is recommended.

For SAP Commerce Cloud 2211-jdk21 release, use the separate JDK21 build of the plugin (worldlineplugin-sapcommerce-7.0-jdk21).

If you are upgrading from a previous version, follow the migration steps "Upgrades from previous versions".

JAVA_HOME property will need to be set to the correct location for the installer to work correctly

SAP Commerce

Officially supported versions of SAP Commerce cloud are:

  • 2211.2 (Latest release is built and tested against 2211.28 on Java 17)

Other patch releases of 2211 are compatible with this plugin. However, the plugin is untested for other versions.

SAP Commerce components

The reference storefront implementation is designed to work with both B2C and B2B accelerators.

If you have already customised your storefront heavily, some additional integration may be required, as this plugin is designed to work with the standard Accelerator UI.

Development environment

The examples in this document work with a UNIX-based development environment (e.g. Mac OS X or Linux).

For Windows installations, use the appropriate Windows commands (e.g. setantenv.bat, hybrisserver.bat).

PCI compliancy

SAQ A

The plugin’s in-built features ensure this security level, but you still need to get the certificate from your acquirer.

On top of these prerequisites, make sure to respect the extension structure:

Property Description
worldlinegopayb2ccheckoutaddon Contains the storefront modifications required to facilitate the injection of the Worldline GoPay payment journeys into the B2C Storefront Checkout Journey.
worldlinegopaybackoffice Contains Backoffice modifications to facilitate configuration of the plugin.
worldlinegopayb2bcheckoutaddon Contains the storefront modifications required to facilitate the injection of the Worldline GoPay payment journeys into the B2B Storefront Checkout Journey.
worldlinegopaycore Contains any data model additions and functional services which use our REST API. Also includes the Worldline GoPay Java SDK.
worldlinegopaycustomersupportbackoffice Contains modifications to the Customer Support Backoffice. Capture, cancel and refund actions, and the Worldline GoPay tabs shown in the Customer Support editor.
worldlinegopayocc Contains enhancements to the Omni Commerce Connect REST APIs included with SAP Commerce: You can process payments from a headless storefront or mobile app.
worldlinegopaywebhook Contains an endpoint for transaction status updates from our platform via webhooks.
worldlinegopayfulfilmentprocess Contains the order fulfilment process definitions used by the plugin (worldline-order-process, worldline-return-process)

This installation process applies to either:

  • a brand-new project with a standard.
  • out of the box accelerator storefront.
  • an existing project with its own storefront extension based on yacceleratorstorefront.

Once done, follow these steps:

1. Install SAP Commerce using ‘cx’ Recipe

SAP provides instructions for using the installation recipes in the SAP Help Portal. If you are unfamiliar with the general installation process, make sure to read through this before the installation.

You will require an existing installation of SAP Commerce to use the plugin. If you already have an installation of SAP Commerce with the B2C Accelerator and its corresponding extensions included, skip this step.

  • Download SAP Commerce in .Zip format. Unzip the platform and navigate to the ‘installer’ directory.
  • Run the following command: Replace ‘your_password’ with your desired administrator password for the system.
./install.sh -r cx -A local_property:initialpassword.admin=your_password
  • Run the following to build and initialise the system:
./install.sh -r cx initialize -A local_property:initialpassword.admin=your_password
hybris/
           config/
bin/
custom/
worldline/
  • The config directory contains a sample set of configurations in the local.properties file. Copy these configurations into the local.properties file generated after the SAP Commerce installation.
  • The config directory also contains a localextensions.xml file. Add the following from this file to your own localextensions.xml file that was generated after the SAP Commerce installation:
<!-- WORLDLINE -->
<extension dir="${HYBRIS_BIN_DIR}/custom/worldline/worldlinegopaycore"/>
<extension dir="${HYBRIS_BIN_DIR}/custom/worldline/worldlinegopayb2ccheckoutaddon"/>
<extension dir="${HYBRIS_BIN_DIR}/custom/worldline/worldlinegopayb2bcheckoutaddon"/>
<extension dir="${HYBRIS_BIN_DIR}/custom/worldline/worldlinegopaybackoffice"/>
<extension dir="${HYBRIS_BIN_DIR}/custom/worldline/worldlinegopayocc"/>
<extension dir="${HYBRIS_BIN_DIR}/custom/worldline/worldlinegopaywebhook"/>
<extension dir="${HYBRIS_BIN_DIR}/custom/worldline/worldlinegopayfulfilmentprocess"/>
<extension dir="${HYBRIS_BIN_DIR}/custom/worldline/worldlinegopaycustomersupportbackoffice"/>

You should examine each extension’s extensioninfo.xml file (contained within the root of each extension’s directory) to ensure the extensions mentioned within each <requires-extension> tag are included in your localextensions.xml.

  • The bin/custom/worldline directory contains all required extensions. Copy them into your own hybris/bin/custom/worldline directory. If you wish to put these extensions in a different directory, update your localextensions.xml accordingly.

2. Install Extension to Storefront

  • To run the ant commands below, you will need to run . ./setantenv.sh or its Windows equivalent within the hybris/bin/platform directory.
  • You may need to run the following command to ensure the correct addons are available in your storefront:
ant addoninstall
-Daddonnames="adaptivesearchsamplesaddon,assistedservicecustomerinterestsaddon,assist
edservicepromotionaddon,assistedservicestorefront,assistedserviceyprofileaddon,captch
aaddon,configurablebundleaddon,consignmenttrackingaddon,customercouponaddon,customerc
ouponsamplesaddon,customerinterestsaddon,customerticketingaddon,eventtrackingwsaddon,
merchandisingaddon,merchandisingstorefrontsampledataaddon,multicountrysampledataaddon
,notificationaddon,ordermanagementaddon,orderselfserviceaddon,pcmbackofficesamplesadd
on,personalizationaddon,personalizationsampledataaddon,personalizationyprofilesampled
ataaddon,profiletagaddon,selectivecartsplitlistaddon,smarteditaddon,stocknotification
addon,textfieldconfiguratortemplateaddon,timedaccesspromotionengineaddon,timedaccessp
romotionenginesamplesaddon,xyformssamples,xyformsstorefrontcommons,ysapproductconfiga
ddon" -DaddonStorefront.yacceleratorstorefront=""

Replace <YOUR-STOREFRONT> with your storefront extension’s name, e.g. yacceleratorstorefront or <project>storefront

  • Install the Addon to your Storefront, use the following command:
ant addoninstall -Daddonnames="worldlinegopayb2ccheckoutaddon"
-DaddonStorefront.yacceleratorstorefront="<YOUR-STOREFRONT>"
  • Use the following command to install the B2B addon to your storefront:
ant addoninstall -Daddonnames="worldlinegopayb2bcheckoutaddon" 
-DaddonStorefront.yacceleratorstorefront="<YOUR-STOREFRONT>"
  • Now rebuild your system:
ant clean all
  • Perform either an initialisation or system update. You can do both via the Hybris Administration Console (HAC) at https://<your-server>:9002/hac or you can initialize this via the ant target:
ant initialize

Upgrades from previous versions

Version v7.0 of the plugin introduces a major refactoring and rebranding of the extension to Worldline GoPay. As part of this change, we renamed the extension code, Java package and some values in the database. Hence, we strongly recommend handling the upgrade manually.

For continuity, the following components remain unchanged:

Component Description
Item types and their database tables WorldlineConfiguration, WorldlinePaymentInfo, WorldlineMandate, WorldlineRecurringToken, WorldlineWebhooksEvent and every attribute (BaseStore.worldlineConfiguration, Order.worldlineSurchargeAmount, ...) keep their names. The existing ImpEx scripts, flexible searches and saved queries remain intact.
Java class and interface names Extensions that inject or override WorldlinePaymentService, worldlineCheckoutFacade and all spring bean IDs.
Enum values and DB-stored-codes paymentProvider = WORLDLINE, worldlineorder-process, worldline-return-process, worldlineB2CResponsiveCheckoutGroup, all CMS component UIDs.
Webhook URL The webhook URL structure remains intact as https://<your-domain>/worldline/webhook.
OCC web root Headless and mobile clients are unaffected.
Gateway hostnames and SDK Remain unchanged
Storefront URLs Such as /my-account/worldline/payment-details. No SEO or bookmark impact

Follow these steps:

          1. Swap the extensions

            Remove the old worldlinedirect* directories from hybris/bin/custom/worldline/ and replace with the worldlinegopay* ones. Then update hybris/config/localextensions.xml :
            
            <extension dir="${HYBRIS_BIN_DIR}/custom/worldline/worldlinegopaycore"/>
            <extension dir="${HYBRIS_BIN_DIR}/custom/worldline/worldlinegopayb2ccheckoutaddon"/>
            <extension dir="${HYBRIS_BIN_DIR}/custom/worldline/worldlinegopayb2bcheckoutaddon"/>
            <extension dir="${HYBRIS_BIN_DIR}/custom/worldline/worldlinegopaybackoffice"/>
            <extension dir="${HYBRIS_BIN_DIR}/custom/worldline/worldlinegopayocc"/>
            <extension dir="${HYBRIS_BIN_DIR}/custom/worldline/worldlinegopaywebhook"/>
            <extension dir="${HYBRIS_BIN_DIR}/custom/worldline/worldlinegopayfulfilmentprocess"/>
            <extension dir="${HYBRIS_BIN_DIR}/custom/worldline/worldlinegopaycustomersupportbackoffice"/>
            
          2. Update your code (if any)
            If you have extensions that build on this plugin, apply these three renames:
            
            com.worldline.direct -> com.worldline.gopay
            WorldlineDirectCheckoutFacade -> WorldlineGoPayCheckoutFacade
            worldlinedirect<ext> -> worldlinegopay<ext> (extension dependencies)
            
          3. Check property overrides
            Most of the keys in local.properties are valid and remain as-is. The old aliases will be removed in the next release.
            However, some are not aliased. Rename them manually:

            Old Key New Key
            worldlinedirectb2ccheckoutaddon.css.paths.responsive worldlinegopayb2ccheckoutaddon.css.paths.responsive
            worldlinedirectb2ccheckoutaddon.javascript.paths.responsive worldlinegopayb2ccheckoutaddon.javascript.paths.responsive
            worldlinedirectb2bcheckoutaddon.css.paths.responsive worldlinegopayb2bcheckoutaddon.css.paths.responsive
            worldlinedirectb2bcheckoutaddon.javascript.paths.responsive worldlinegopayb2bcheckoutaddon.javascript.paths.responsive
            worldlinedirectwebhook.* worldlinegopaywebhook.*
            worldlinedirectbackoffice.key worldlinegopaybackoffice.key
            worldlinedirectcustomersupportbackoffice.* worldlinegopaycustomersupportbackoffice.*
            yacceleratorstorefront.additionalWebSpringConfigs.worldlinedirectb2ccheckoutaddon yacceleratorstorefront.additionalWebSpringConfigs.worldlinegopayb2ccheckoutaddon
            yacceleratorstorefront.wro4jconfigscan.worldlinedirectb2ccheckoutaddon yacceleratorstorefront.wro4jconfigscan.worldlinegopayb2ccheckoutaddon
            yb2bacceleratorstorefront.additionalWebSpringConfigs.worldlinedirectb2bcheckoutaddon yb2bacceleratorstorefront.additionalWebSpringConfigs.worldlinegopayb2bcheckoutaddon
            yb2bacceleratorstorefront.wro4jconfigscan.worldlinedirectb2bcheckoutaddon yb2bacceleratorstorefront.wro4jconfigscan.worldlinegopayb2bcheckoutaddon
          4. Reinstall the checkout addons
            Backup any customisations first. If you edited JSPs, tags or CSS inside <storefront>/web/webroot/WEB-INF/views/addons/worldlinedirectb2ccheckoutaddon/

            (or the b2b equivalent)

            or

            /ui/addons/ , tags/addons/ , messages/addons/

            Backup those files.

            a) Remove the old installed addon directories from each storefront under 

            hybris/bin/modules/base- accelerator/deprecated/yacceleratorstorefront/web/webroot/WEB-INF/views/addons/ .

            find hybris/bin -type d -name "worldlinedirect*" -exec rm -rf {} +

            b) Remove the old addon names:
            I. Each storefront's extensioninfo.xml carries a requires-extension entry that
            addoninstall wrote. Repoint it:

            <!-- yacceleratorstorefront/extensioninfo.xml -->
            <requires-extension name="worldlinegopayb2ccheckoutaddon"/>
            <!-- yb2bacceleratorstorefront/extensioninfo.xml -->
            <requires-extension name="worldlinegopayb2bcheckoutaddon"/>
            

            II. <storefront>/web/webroot/WEB-INF/_ui-src/responsive/lib/ybase-0.1.0/less/addons.less  has an @import for the old addon's .less .
            Delete that line; the reinstall adds the new one. Leaving it pointed at a deleted file breaks the wro4j build.

            III. <storefront>/.classpath , if you use the Eclipse or IntelliJ project files. Regenerated by ant eclipse / ant idea or rename manually.

            Also delete the old backoffice widget jars for rebuilding, otherwise the backoffice will load the widget definitions referencing the old package.
            rm -f hybris/bin/custom/worldline/worldlinegopay*/resources/backoffice/*_bof.jar

            c) Reinstall under the new names:

            cd hybris/bin/platform
            . ./setantenv.sh
            ant addoninstall -Daddonnames="worldlinegopayb2ccheckoutaddon"
            -DaddonStorefront.yacceleratorstorefront="yacceleratorstorefront"
            ant addoninstall -Daddonnames="worldlinegopayb2bcheckoutaddon"
            -DaddonStorefront.yb2bacceleratorstorefront="yb2bacceleratorstorefront"
          5. Clean build and system update

            cd hybris/bin/platform
            . ./setantenv.sh
            ant clean all
            
            If the build reports missing Generated* classes, clear them manually and rebuild.
            find hybris/bin/custom/worldline -maxdepth 3 -type d \( -name gensrc -o -name classes\) -exec rm -rf {} +

            Then run a system update either from HAC or

            ant updatesystem
          6. Run the database migration

            While CMS component JSP paths and email renderer context classes remain in the database, they point to the old package. Run

            worldlinegopaycore/resources/migration/gopay-rename-migration.groovy

            in the HAC Scripting console (Groovy). It defaults to dryRun = true : review the output, then set dryRun = false and run it again.

            Skipping this leaves blank content slots on the cart, checkout, account and replenishment pages, and makes replenishment failure emails throw ClassNotFoundException when they render.

            Finally, clear the Tomcat compiled-JSP cache so the old addon pages are not served:

            rm -rf hybris/bin/platform/tomcat/work/Catalina
          7. Run a clean build to upgrade

            ant clean all
            ant updatesystem
            After a system update,
            a) Re-select the Wero Capture Trigger (skip if you do not offer Wero)
            Enum values were re-cased to match the Worldline GoPay API ( SHIPPING became shipping , SERVICEFULFILMENT became serviceFulfilment , and so on). Manually choose the trigger against each Worldline GoPay configuration in the backoffice.

            b) Review the new configuration attributes
            New settings are added as part of the new release (ex: Google Pay, Pay By Link settings). Configure them if you offer these payment modes.

            c) Re-import the payment modes if you use the shipped projectdatapaymentmodes.impex. Wero (900) and in3 (5410) are added and Pledg has been renamed to Sofinco (the product ID 5300 remains unchanged).

            d) Re-install the checkout addons so the storefront picks up the new Google Pay, Apple Pay and Pay by Link templates and scripts.


Configuration

After the installation, you need to configure the plugin to link your store to our platform. This section of the documentation will cover technical configuration elements only.

Also, please note that the Worldline API has a 50-character limit for the customer email address field, while the SAP Commerce Cloud platform and the plugin do not. So do not forget to validate this field to conform to this limit.

Configure properties

  • From worldlinegopaycore/project.properties :
worldline.gopay.api.authorizationType=V1HMAC
worldline.gopay.api.connectTimeout=10000
worldline.gopay.api.socketTimeout=10000
worldline.gopay.api.maxConnections=10
worldline.gopay.api.integrator=Worldline


The Java SDK passes these configurations and controls the connectivity. Have a look at our dedicated Java SDK documentation for more information.

  • From worldlinegopaybackoffice/project.properties:
worldline.contact.support.default.cc=
worldline.contact.support.default.bcc=
worldline.contact.support.default.subject=default subject


These configurations control the button within the SAP Back Office, which is used to contact us for support via email.

    Configure Webhooks

    The plugin uses webhooks to get the current status of your transactions from our platform. SAP Commerce uses the endpoint /worldline/webhook to receive these status updates.

    Configure a WebhooksKey, WebhooksKeySecret and Endpoint URLs in your PSPID as described in our dedicated guide. Make sure the URL:

    • Contains your site’s hostname '(i.e. https://<your-domain>:9002/worldline/webhook)'
    • Has a valid SSL certificate

    Configure SAP Backoffice

    The following steps cover the configuration process of the SAP Commerce Backoffice. For general information about the SAP Commerce Backoffice, refer to the Business User guides in the SAP Help Portal.

    After the successful installation, the SAP Backoffice contains a new item type “Worldline GoPay Configuration”. Follow these steps to link your Base Store in SAP Commerce to our platform:

    • Login to the SAP Commerce Backoffice via the default URL https://<hostname>:9002/backoffice. Default administrator credentials will have been defined during installation or provided to you separately.

    Go to Worldline GoPay > Worldline GoPay Configuration. Click on the “+” – symbol in the taskbar.

    The image above shows where to find the Worldline GoPay Configuration item and the “+” symbol in the taskbar
    • Enter the following from the table in the appearing pop-window:
    Property Description/Actions
    API Key Enter the API key of your test or live PSPID. Read our dedicated guide to learn how to generate one.
    API Secret Enter the API secret of your test or live PSPID. Read our dedicated guide to learn how to generate one.
    Apply Surcharge

    Confirm choices on whether you want to apply surcharge to your transactions.
    Mind that the surcharge only applies to non-EU markets and requires configuring on your account. Learn more in our dedicated guide.

    Ask Consumer Consent

    Define whether your customers must opt-in/opt-out for permanent token creation.

    Enable 3D Secure

    Enable or disable 3-D Secure.

    We strongly recommend selecting "Yes" as 3-D Secure is mandatory in some markets. This will also ensure liability shifts for transactions with successful 3-D Secure authentication. If you select "No", you may not benefit from liability shifts and may be held liable.

    Enable Mandatory 3D Secure

    Define whether to enforce Strong Customer Authentication (SCA) regardless of any possible exemptions.

    Endpoint URL

    The test or live endpoint on our platform. Copy them from our dedicated guide.

    • Read our dedicated guides about API endpoints and authentication to get a thorough understanding about the test/live environment and API key/API secret.
    • Make sure not to mix up credentials from test with live and vice versa.
    • Make sure to switch to the LIVE-URL as soon as you have finalised your tests.
    3D Secure Exemption Limit

    Some markets allow you to potentially exempt your customers from a 3-D Secure check. 
    Select "Yes" if you would like your customers to be potentially exempted. You will be able to chose between three options:

    Preference: No challenge request. You will request the issuer not to trigger a strong authentication for baskets up to 100 EUR.
    low-value: To request exemptions on baskets up to 30 EUR.
    transaction-risk-analysis: To request exemptions based on a risk analysis performed by the acquirer or the issuer, for an amount up to 100 EUR.

    3D Secure Exemption Type

    Define the type of exemption you want to offer. : The available options are
    No challenge request (Default),
    Low-value
    Transaction-risk-analysis

    First recurring payment

    Indicate whether to fully charge your customers for the first order in a series of multiple orders.
    True: Charge the first order.
    False: Do not charge the first order.

    Google Pay Environment

    Choose between Google's test or production environment.

    Grouped cards

    Define whether to group all card payment methods on the Hosted Checkout Page.

    Instant Bank Transfers

    Activate this option to only accept instant bank transfers from customers.

    Merchant ID Enter the PSPID on our platform that you want to use for transaction processing.
    Payment Link
    Expiration in hours
    Define the payment links’ validity period for links created via Pay By Link. Default value: 7 days (168 hours).
    Show Mobile Wallets First Define whether to display Apple Pay and Google Pay in a separate Express Checkout section at the top of the payment methods list on the checkout page.
    Split order level promotion to line items

    This functionality is still available inside the plugin, but it is no longer required. The Worldline API has been updated to include order-level discounts, so you can safely disable this feature.

    webhookKeyId Enter the webhookKeyId of your test or live PSPID from the previous step.
    webhookSecret Enter the webhookSecret of your test or live PSPID from the previous step.

    Click on "Finish" to confirm your configuration.

    Select a config from the list of existing configurations to modify it. Open the item to display the editor at the bottom of the screen. Make sure to save the updated configurations.

    Test Connection

    Once you complete these steps, verify the configuration by establishing a test connection between the plugin and our platform:

    Screenshot of the test connection button

    Merchants can now share feedback or request additional features via the “Request a new feature” button inside the plugin.

    Click on the configuration profile in the table you have just confirmed. Enter the following from the table overview:

    Property Description/Actions
    Worldline GoPay Tab
    Worldline GoPay Configuration Endpoint URL: The test or live endpoint on our platform. Copy them from our dedicated guide.
    API Key: Enter the API key of your test or live PSPID.
    API Secret: Enter the API secret of your test or live PSPID.
    webhookKeyId: Enter the webhookKeyId of your test or live PSPID
    webhookSecret: Enter the webhookSecret of your test or live PSPID
    Operation configuration
    • Operation Code: Define whether to process the transactions as authorisation mode or as direct sale. Select one of the following options:
      • Authorization: the amount is only blocked on your customer's card. Successful transactions will have StatusCode=5 (this is used when you wish to capture a transaction only after shipping the article).
      • Sale: the amount has been ordered to be paid out in one go. Successful transactions will have StatusCode=9
    • Capture Time Frame: Set a capture delay for authorised transactions of X days. At the end of this duration, a cron job will capture the transaction automatically. If the transaction is partially captured already in the meantime, any available funds that remain will be captured.

    If "Operation Code" is set to "Authorization", beware of the following:

    • Make sure that you capture authorised transaction later. Only then will the transaction reach statusCode=9, for which you receive the actual payment for the transaction.
    • Even if the "Capture Delay" is set to X days, you can also manually capture funds fully/partially by opening an individual order once you have delivered the goods/services.
    • Session Timeout: Define the duration of a customer session for adding payment details. If undefined, the duration is 180 minutes. Only applicable for transactions processed via Hosted Tokenization Page.
    Tokenization configuration
    • Ask Consumer Consent: Define whether your customers must opt-in/opt-out for permanent Token creation.
    • Tokenization Template: If you process transactions via our Hosted Tokenization Page, enter the file name of your template to adapt the iframe to the look and feel of your shop.

      To learn how to create templates, see our dedicated chapter in Hosted Tokenization Page guide.

    Hosted Checkout Configuration Hosted Checkout Template: If you process transactions via our Hosted Checkout Page, enter the file name of your template to adapt the page to the look and feel of your shop.
    Google Pay

    Google Pay Environment: Choose between Google's test or production environment.
    Google Pay Merchant ID: Enter the merchant ID used for registration with Google Pay Business Console.
    Google Pay Merchant Name: Enter the merchant Name used for registration with Google Pay Business Console.
    Google Pay Acquirer Country: Enter the ISO 3166-1 alpha-2 country code where the transaction is processed. Mandatory for the merchants in European Economic Area and other countries that are subject to Strong Customer Authentication (SCA).

    Refer to the dedicated in the Google Pay chapter for details.

    Grouped cards configuration
    • Grouped cards: Define whether to group all card payment methods on the Hosted Checkout Page.
    • Grouped Cards icon: Add a SAP CC media file to display a card's label. 
    Recurring payments configuration
    • Replenishment number of retries on failure: Define the number of allowed retries for failed payments for subsequent orders. Default value: 5.
    • First recurring payment: Indicate whether to fully charge your customers for the first order in a series of multiple orders.
      • True: Charge the first order.
      • False: Do not charge the first order.
    Other Configurations

    Split order level promotions to line items: This feature remains available in the plugin but is no longer required. Our API now supports order-level discounts, so you can safely disable the feature.

    Apply Surcharge: Confirm choices on whether you want to apply surcharge to your transactions.
    This feature applies only to non-EU markets.
    Make sure that the Surcharging is activated and configured accordingly in your Worldline account.

    Show Mobile Wallets First: Define whether to display Apple Pay and Google Pay in a separate Express Checkout section at the top of the payment methods list on the checkout page.

    Payment Mode Sorting: Configure the order in which payment methods are displayed on the checkout page.

    Bank transfers
    • Off (default): Accept both instant and standard bank transfers.
    • On: Accept only instant bank transfers (e.g., real-time SEPA credit transfers). Standard bank transfers that take 1-3 business days to settle will be rejected.
    Intersolve configuration Configure the Session Timeout for Intersolve payments.
    Wero Configuration Wero Capture Trigger: The plugin passes this info-only field to the Worldline API to display inside the Wero portal. The field is only sent when the operation code is set to Final_Authorization.
    Pay By Link Configuration Pay By Link Logo (optional): Configure an image for Pay By Link.
    Pay By Link Expiry (hours): Define the payment links’ validity period. Default value: 7 days (168 hours). Allowed range: 24 hours to 6 months.
    Pay By Link Return URL: The URL we redirect your customers to after the payment has been finalised. By default, the plugin does not provide a landing page.
    If you use this feature, make sure to create a landing page which you can define here.
    Merchant configuration Merchant Name: Enter the merchant Name used for registration with Worldline GoPay.
    3-D Secure Configuration (3DS tab)
    Enable 3DS

    Enable or disable 3-D Secure.

    We strongly recommend selecting "Yes" as 3-D Secure is mandatory in some markets. This will also ensure liability shifts for transactions with successful 3-D Secure authentication. If you select "No", you may not benefit from liability shifts and may be held liable.

    Enable mandatory 3DS

    Define whether to enforce Strong Customer Authentication (SCA) regardless of any possible exemptions.

    Exemption type

    Define the type of exemption you want to offer. The available options are No challenge request (Default), Low-value, and Transaction-risk-analysis.

    Exemption limit (No challenge request)

    Request the issuer to skip 3-D Secure for baskets up to 100 EUR.

    Exemption limit (Low-value)

    Request exemptions for baskets up to 30 EUR.

    Exemption limit (Transaction-risk-analysis)

    Request exemptions based on a risk analysis performed by the acquirer or the issuer, for baskets up to 100 EUR.

    Administration Tab
    Merchant ID

    Enter the PSPID on our platform that you want to use for transaction processing.

    Click on “SAVE” to confirm your configuration.

    Configure Base store

    Before you start processing (test) transactions, you need to

    To do so, follow these steps and confirm by clicking "SAVE" in each tab:

    • Go to Base Commerce > Base Store. Select the store from the table with headers "ID" / "Name".

    Select "Worldline GoPay " from the available tabs and scroll down to "Worldline GoPay Configuration".

    The image above shows where to find the "Worldline GoPay" tab.
    • Enter the following from the table overview:
    Property Description/Actions
    Payment Provider Configuration

    Associates your base store with a configuration profile.

    Click on the field to select the configuration profile you set up in the previous steps.

    Checkout type

    Select an integration method for transaction processing. You can choose from the following options:

    • Hosted Checkout Page - Each payment method and card brand is listed individually on your checkout page. When selecting a payment method, the user is redirected to our Hosted Checkout Page to enter their payment credentials. Read our dedicated Hosted Checkout Page guide to learn more.
    • Hosted Tokenization Page - All card brands are displayed as a single "Credit card" payment option in a single iFrame on your checkout page. This allows your customers to stay on your checkout page while entering their card details. Read our dedicated Hosted Tokenization Page guide to learn more.

    Bancontact is only available on the Hosted Checkout Page in QR code mode.

    If you choose the Hosted Tokenization Page method, make sure to configure a template via Worldline GoPay> Worldline GoPayConfiguration.

    Do not switch between checkout modes whilst the site is live, as this might lead to undesirable effects on your customers' payment journey.

    Return URL

    The URL we redirect your customers to after the payment has been finalised.

    Merchant Email

    Define the sender e-mail address your customers will receive updates from about updates for their replenishment orders.

    • Select "ADMINISTRATION" from the available tabs and scroll down to "UNBOUND". Enter "worldlineB2CResponsiveCheckoutGroup" in the field "Checkout Flow Group"
    • Select "PROPERTIES" from the available tabs and scroll down to "PAYMENT PROVIDER". Enter "Worldline" in the field "Payment Provider"
    The image above shows where to find the “Worldline GoPay" tab.

    Configure Payment Modes

    To configure this list of Payment Modes in SAP Commerce, navigate to the following menu in Backoffice:

    Screenshot of Payment Modes configuration menu

    Once you click on "Payment Modes", you will see a list of Payment Modes currently supported by the plugin. After selecting a Payment Mode, you can enable or disable it by changing the isActive flag. By default, all payment modes presented are enabled; To actually display these payment methods on your checkout page, activate them in your PSPID.

    Screenshot of Payment Modes configuration - changing status

    If you add a new Payment Mode to your account in the Worldline Merchant Portal, you may need to manually add it to the system by clicking the '+' button at the top of the Payment Modes List.

    To edit a payment mode, select it from the list and then proceed to the Worldline GoPay tab to edit any relevant properties.

    Google Pay

    Google Pay implements the native "Google Pay™ on your own checkout page" mode via integration method Server-to-server. Refer to our dedicated Google Pay guide for detailed instructions. The plugin features a Worldline GoPay > Worldline GoPay Configuration section to specify Google Pay properties.

    Usage of Mealvouchers

    Our plugin supports the Mealvouchers payment method. You must mark it as eligible to enable it. To flag the products, you can simply edit them individually in the SAP Backoffice.

    To do so, follow these steps:

    • Log in to the SAP Backoffice as administrator. Go to "Products" on the navigation bar.
    • Select the product you wish to configure.
    • Go to the Administration tab and search for Worldline GoPay Mealvoucher Product Type to find the attribute.
    • Choose between three different values:
      • Food and Drink
      • Home and Garden
      • Gifts and Flowers
    • Select a value and click "Save".

    Configure Card On File

    To configure Card On File, go to Worldline > Worldline Recurring Token. 

    This list shows all available tokens for Card On File in your system. Click in the respective line in the table to get a comprehensive overview about the individual token and possible actions: 

    Property Description
    Token Unique identifier of the token on our platform. Returned by our platform when creating the token with the first order.
    Alias Masked card number linked to this token. 
    Cardholder name Name of the cardholder linked to this token.
    Expiry date Expiry date of the card linked to this token. 
    Subscription ID Unique identifier of the replenishment order and of the cronjob generating all subsequent orders.
    Status

    The token's status. Possible values: 

    • Active: Can be used for Card On File.
    • Blocked: The plugin blocks the usage of the token. 
    • Revoked: Token has been deleted on our platform and cannot be used anymore.
    Customer

    Unique identifier of your customer who placed the initial order when creating the token. Refer to the Administration tab for more information. 

    Store

    Unique identifier of the store ID managing the replenishment. Refer to the Administration tab for more information. 

     

    Card On File is specifically important for replenishing orders and subscriptions. Refer to the following section for more information.

    Replenishment Orders

    The replenishment order or subscriptions functionality is present for both B2B and B2C storefronts. The subscription orders are processed via the Subsequent API.

    There are several configurations that need to be set to customize it which have been explained in the previous sections. In this section, we will review the standard process and the elements that comprise of a subscription order. Below is a high-level flow of a replenishment order.

    1. Your customers places a replenishment order.
    2. The plugin saves the cart object as order basis.
    3. The plugin creates a recurring cron schedule.
    4. The plugin creates a Cart-to-Order cron jobs.
    5. Go to Orders.
    6. Select the order to view.
    7. Open the Administration tab.
    8. Locate related cron jobs.
    9. Run standard fulfillment process.

    Each subscription order is translated to a cronjob in the SAP backoffice. The jobs are scheduled to run based on the duration you specify when placing the order. To view a replenishment order, go to System > Background Processes and select the relevant cron job to view/edit the details. You can also choose to run the cron job on demand via this screen.

    There are a few important information available associated with this cron job. Find them in the Administration tab.

    Property Description/Actions
    Cart

    Stores the cart details and uses them to create the replenishment order.

    Orders

    Lists orders created using the cart data. It includes all subsequent orders placed during the subscription period.


    CronJobHistoryEntries

    Keeps information about the cronjob executions.

    Payment Info

    Information from the original Customer-initiated-transaction (CIT) for the subsequent orders.

    Submitted

    When set to true, it denotes that the replenishment order was created successfully.

    Note that

    • Replenishment orders are only available to registered customers.
    • The feature does not support mixed baskets.
    • All products from the basket will be added to the subscription. Make sure to tag the products as a subscription on the product display page.
    Screenshot of replenishment orders configuration

    Pay By Link

    Pay By Link allows you to place orders in the plugin on behalf of your customers. At a later point, you can share a payment link for this order with your customers to complete the order.

    Pay By Link is only available via Assisted Service Mode (ASM). This is a high-level payment flow involving Pay By Link via ASM:

    1. Your customer calls the your support center.
    2. The customer service representative logs into the ASM using customer details.
    3. The customer service completes the cart and proceed to standard checkout flow.
    4. On the checkout page, the representative selects Pay By Link as a payment method.
    5. The representative selects Pay By Link and completes the order.
    6. The order confirmation page presents the link which can be shared with the customer manually or via e-mail (if you have configured it).
    7. Your customers go to our Hosted Checkout Page via the payment link to complete the payment.
    8. The plugin executes the standard order fulfilment process.

    Your customers remain on the payment success page after completing the payment. If you have configured a return URL via Pay By Link Configuration > Pay By Link Return URL, you customers will be redirected accordingly.


    Manage payments

    We have designed the plugin to follow up on your orders automatically and autonomously, freeing you from the administration involved. Learn here how to use our plugin effectively, which could help your business to thrive!

    Perform maintenance operations

    Captures, refunds and cancellations of authorisations are standard processes (also known as maintenance operations) in your everyday business logic. In addition to these operations, the SEPA mandates and recurring tokens are also managed within the plugin.  You can perform these operations on a transaction using the Customer Support Backoffice.

    Once you log in to the Customer Support Backoffice, all orders will be listed in the Orders section. You can select the order you want to perform maintenance operations on.

    Transaction details

    To view transaction details, follow these steps:

    1. Login to the Customer Support Backoffice (with Customer Support Agent/Manager perspective). Go to Orders.
    2. Click on the relevant Order number and then to the Payment transactions tab for payment detail.
    3. Double click the payment entry for a detailed view and transaction entries.
    Screenshot of transaction details in the SAP backoffice

    Captures or cancellations

    To captures or cancel orders, follow these steps:

    1. Login to the Customer Support Backoffice (with Customer Support Agent/Manager perspective). Go to Orders.
    2. Select the order number to update.
    3. In the order details page, capture/cancel the order with the options available at the top.

    Note that the cancellation option will appear for the authorised transactions.

    Screenshot of how to cancel transactions in the SAP backoffice

    Automatic Captures

    If you choose to authorize transactions, the plugin will capture them at a later point. The cron job WorldlineAutomaticCaptureJob manages this.

    To do so, go to System > Background Processes > Cron Jobs and search with Worldline.

    By default, the job is configured to run every day at 00.00 UTC. You can also reschedule, enable or disable the job as and when required.

    Screenshot of performing maintenance operations in backoffice Screenshot of how to refund transactions in the SAP backoffice

    Recurring Tokens

    To manage tokens for Customer-initiated-transactions (CITs), follow these steps:

    1. Go to Worldline GoPay Recurring Token. Select the token to be managed.
    2. You can get information about the token and revoke/block/unblock it at will.

    Note that Block/Unblock are temporary, reversible actions. Revoke is a definite, irreversible action.

    Screenshot of managing recurring tokens in backoffice

    SEPA Mandates

    To manage SEPA mandates, follow these steps:

    1. Go to Worldline GoPay Mandates. Select the mandate to be viewed/updated.
    2. Go to the Administration tab to get information about the mandate and revoke/block/unblock it at will.

    Note that Block/Unblock are temporary, reversible actions. Revoke is a definite, irreversible action.

    Screenshot of managing mandates in backoffice

    Webhook Processing

    The plugin runs WorldlineProcessWebhookEventJob every 5 minutes to process webhooks, which are event notifications, and update orders promptly.

    Screenshot of managing Webhooks in backoffice

    Debug Logging

    Our plugin includes a built in logging system. By default, logging is not enabled and the plugin does not log every payment request and its response. To enable logging, configure via your local.properties or the CCv2 cockpit:

    log4j2.logger.WorldlineCoreServices.name=com.worldline.gopay.service.impl

    Enable logging only when debugging to protect your customers' data privacy. Logs can contain extensive customer data.

    Perform test transactions

    Use our platform's test environment to make sure your plugin works as intended. We offer test data sets on our dedicated Test cases page. Target our test environment as described in the "Configure Plugin" section.

    Perform test transactions

    Use our platform's test environment to make sure your plugin works as intended. We offer test data sets on our dedicated Test cases page. Target our test environment as described in the "Configure Plugin" section.

    Make sure to switch to the LIVE environment as soon as you have finalised your tests.


    Was this page helpful?

    Do you have any comments?

    Thank you for your response.
    New Feature

    Try out our new chatbot and find answers to all your questions.