lib/custom/src/MShop/Service/Provider/Payment/OmniPay.php
protected function getRedirectForm( \Omnipay\Common\Message\RedirectResponseInterface $response )
	{
		$list = [];

		foreach( (array) $response->getRedirectData() as $key => $value )
		{
			$list[$key] = new \Aimeos\MW\Criteria\Attribute\Standard( array(
				'label' => $key,
				'code' => $key,
				'type' => 'string',
				'internalcode' => $key,
				'internaltype' => 'string',
				'default' => $value,
				'public' => false,
			) );
		}

		$url = $response->getRedirectUrl();
		$method = $response->getRedirectMethod();

		return new \Aimeos\MShop\Common\Helper\Form\Standard( $url, $method, $list );
	}
protected function getRedirectForm( \Omnipay\Common\Message\RedirectResponseInterface $response )
	{
		$list = [];

		foreach( (array) $response->getRedirectData() as $key => $value )
		{
			$list[$key] = new \Aimeos\MW\Criteria\Attribute\Standard( array(
				'label' => $key,
				'code' => $key,
				'type' => 'string',
				'internalcode' => $key,
				'internaltype' => 'string',
				'default' => $value,
				'public' => false,
			) );
		}

		$url = $response->getRedirectUrl();
		$method = $response->getRedirectMethod();

		return new \Aimeos\MShop\Common\Helper\Form\Standard( $url, $method, $list );
	}
Returns the form for redirecting customers to the payment gateway.

@param \Omnipay\Common\Message\RedirectResponseInterface $response Omnipay response object
@return \Aimeos\MShop\Common\Helper\Form\Iface Form helper object