PayOne - PrepaymentEdit on GitHub
Prepayment method is a safe alternative to payments involving credit cards or debit cards (such as online banking transfer). Usually bank transfer would require manual processing to mark transaction as cancelled or completed, but the process is fully automated through the integration with the Payone platform.
The payment status is transmitted to the shop via a notification from the payment provider(Payone).
To adjust the frontend appearance, provide the following templates in your theme directory:
State Machine Integration
Payone module provides a demo state machine for Prepayment payment method which implements Preauthorization/Capture flow.
To enable the demo state machine, extend the configuration with the following values:
<?php $config[SalesConstants::PAYMENT_METHOD_STATEMACHINE_MAPPING] = [ ... PayoneConfig::PAYMENT_METHOD_PRE_PAYMENT => 'PayonePrePayment', ]; $config[OmsConstants::ACTIVE_PROCESSES] = [ ... 'PayonePrePayment', ];
For submitting the form