Integrating the Split-payment Marketplace payment method for Heidelpay

Edit on GitHub

Setup

The following configuration should be made after Heidelpay has been installed and integrated.

Configuration

Example:

// Heidelpay Split-payment marketplace logic
$config[HeidelpayConstants::CONFIG_IS_SPLIT_PAYMENT_ENABLED_KEY] = true;

Project Implementation

A project level should set quote items and expenses information the field Heidelpay Item Channel Id. It could be done using cart expander plugin.

Example:

$quoteItem->setHeidelpayItemChannelId('........');