use Payum\Core\Request\Authorize;
use Valiton\Payum\Payone\Api;
$payment = [
Api::FIELD_PAYMENT_METHOD => Api::PAYMENT_METHOD_CREDIT_CARD_PPAN,
Api::FIELD_LANGUAGE => 'de',
];
$payum
->getGateway('payone')
->execute(new Authorize($payment));
use Payum\Core\Request\Capture;
use Valiton\Payum\Payone\Api;
$payment = [
Api::FIELD_PAYMENT_METHOD => Api::PAYMENT_METHOD_CREDIT_CARD_PPAN,
Api::FIELD_LANGUAGE => 'de',
];
$payum
->getGateway('payone')
->execute(new Capture($payment));
See Paydirekt Capture Authorized Payment
See Paydirekt Refund