Table of Contents

Payment Module - Key concepts and features

This extension is part of the Hybris Order Management Module and offers an interface for the integration of the eShop with Payment Service Providers (PSP). It works together with an adapter written to access the PSP.

Limitations

Key Concepts

Key Features

The following section refers to the Cybersource example implementation. This extension is deprecated since SAP Hybris 5.3.

The transaction entry may contain a RMA - Return Merchandise Authorization which could be used to generate the return request.

Technical details of the default implementaion of the Payment Service

The DefaultPaymentServiceImpl is responsible for:

Payment Mode Services

The only out-of-the-box implementation of this type of service is DefaultCardPaymentServiceImpl. This class is responsible for:

Command Factory

If you want to use another payment provider to process payments with credit and debit card, a new implementation of the command factory must be developed.

Command

It usually calls a web service of the PSP or the ERP system of the company. For paying with credit and debit cards, the following commands are available:

All commands return a subclass of abstract result.

Further reading

Payment with multiple cards

The section “Multiple Credit Card Payments” of the documentation is unclear and it doesn't explain how the payment with multiple cards works. You can read it at  Payment Business Layer Framework

Other Payment Service Providers

In Hybris-Extend there are extensions which integrate other PSPs, for example, PayPal.

Other extensions

The extension cispayment is the default implementation of a Commerce Infrastructure Services (CIS) connection to a Payment Service Provider. Unfortunately I still don't have any experience using it because my customer use PayOne or Adyen with custom extensions.

–Based on Hybris 1905 and 5.3