Payum/Payum — pull request #134 by achudzinski (2014-05-08 09:52:42+00:00)
Title: POST redirect in capture action for Omnipay Bridge

At the moment there is only possible to do GET redirect if purchase method returns redirect response. It should be possible to perform POST redirect if getRedirectMethod() (from Omnipay\Common\Message\RedirectResponseInterface) returns "POST".

I have also added $options['_completeCaptureRequired'] = 1 if the redirect is required. In this action we check if _completeCaptureRequired option is set:

if (isset($options['_completeCaptureRequired'])) {
unset($options['_completeCaptureRequired']);
$response = $this->gateway->completePurchase($options->toUnsafeArray())->send();
} else {
$response = $this->gateway->purchase($options->toUnsafeArray())->send();
}

but there isn't any place where the option is set. I believe it was accidentally removed in commit 2ade68323fa13d4d149259a2933e3ea1d8e205d8

@makasim Answering your question - yes, it will work will omnipay 1