PayOne - Security Invoice Payment

Edit on GitHub
You are browsing a previous version of the document. The latest version is 202212.0.

Front-End Integration

To adjust the frontend appearance, provide the following templates in your theme directory: src/<project_name>/Yves/Payone/Theme/<custom_theme_name>/security_invoice.twig

State Machine Integration

Payone module provides a demo state machine for the Security Invoice payment method which implements Authorization flow. To enable the demo state machine, extend the configuration with following values:

<?php
 $config[SalesConstants::PAYMENT_METHOD_STATEMACHINE_MAPPING] = [
 ...
 PayoneConfig::PAYMENT_METHOD_SECURITY_INVOICE => 'PayoneSecurityInvoice',
 ];
 $config[OmsConstants::ACTIVE_PROCESSES] = [
 ...
 'PayoneSecurityInvoice',
 ];