lib/custom/src/MShop/Service/Provider/Payment/OmniPay.php
public function process( \Aimeos\MShop\Order\Item\Iface $order, array $params = [] )
	{
		if( $this->getValue( 'onsite' ) == true && ( !isset( $params['number'] ) || !isset( $params['cvv'] ) ) ) {
			return $this->getPaymentForm( $order, $params );
		}

		return $this->processOrder( $order, $params );
	}
public function process( \Aimeos\MShop\Order\Item\Iface $order, array $params = [] )
	{
		if( $this->getValue( 'onsite' ) == true && ( !isset( $params['number'] ) || !isset( $params['cvv'] ) ) ) {
			return $this->getPaymentForm( $order, $params );
		}

		return $this->processOrder( $order, $params );
	}
Tries to get an authorization or captures the money immediately for the given order if capturing the money
separately isn't supported or not configured by the shop owner.

@param \Aimeos\MShop\Order\Item\Iface $order Order invoice object
@param array $params Request parameter if available
@return \Aimeos\MShop\Common\Helper\Form\Standard Form object with URL, action and parameters to redirect to
(e.g. to an external server of the payment provider or to a local success page)