Ibexa Commerce supports vouchers that are managed in ERP. The customer can enter a voucher number in the basket. Then the voucher is sent to the ERP and, if it is valid, the customer gets a discount.
Voucher data is sent to the ERP in
The price request contains the voucher code.
If enabled in the configuration, an additional line with negative quantity is also sent. The ERP must respond with negative cost.
The ERP can send a message that the voucher is invalid. When this happens, a message is displayed in the basket.
1 2 3
send_vouchers_as_lines setting, you can configure whether the voucher is sent to ERP as an additional line with negative quantity (
or in the header (
Siso/Bundle/VoucherBundle/Service/VoucherManager service manages general voucher processes, like redeeming or removing the voucher.
1 2 3 4 5 6 7 8