controllers/oxpspaymorrowprepareorder.php
public function prepareOrder()
    {
        $this->setPaymorrowPaymentMethodId();

        /** @var OxpsPaymorrowRequestControllerProxy $pmGateWay */
        $pmGateWay = oxNew('OxpsPaymorrowRequestControllerProxy');

        $oUtils = oxRegistry::getUtils();
        $oUtils->setHeader("Content-Type: application/json");
        $oUtils->showMessageAndExit($pmGateWay->prepareOrder($_POST));
    }
public function prepareOrder()
    {
        $this->setPaymorrowPaymentMethodId();

        /** @var OxpsPaymorrowRequestControllerProxy $pmGateWay */
        $pmGateWay = oxNew('OxpsPaymorrowRequestControllerProxy');

        $oUtils = oxRegistry::getUtils();
        $oUtils->setHeader("Content-Type: application/json");
        $oUtils->showMessageAndExit($pmGateWay->prepareOrder($_POST));
    }
public function prepareOrder ( ) { $ this -> setPaymorrowPaymentMethodId ( ) ; /** @var OxpsPaymorrowRequestControllerProxy $pmGateWay */ $ pmGateWay = oxNew ( 'OxpsPaymorrowRequestControllerProxy' ) ; $ oUtils = oxRegistry :: getUtils ( ) ; $ oUtils -> setHeader ( "Content-Type: application/json" ) ; $ oUtils -> showMessageAndExit ( $ pmGateWay -> prepareOrder ( $ _POST ) ) ; }
Paymorrow function for Verifying Form Data against Paymorrow Services.
Also set selected payment method ID revealed by Paymorrow payment method name.
Paymorrow function for Verifying Form Data against Paymorrow Services . Also set selected payment method ID revealed by Paymorrow payment method name .