public function parseForRedirectAPI(ResourceModel $resource)
    {
        $this->initDefaultParams($resource);

        $this->parseRedirectUrls($resource);

        $this->parseCustomerInformation($resource);

        $this->parseFraudManagementParams($resource);

        $this->parseTransactionRecord($resource);

        $this->overrideDefaultParams($resource);

        $this->parseRealTimeRecurringRedirect($resource);

        //var_dump($this->payload);exit;
        return $this->payload;
    }
public function parseForRedirectAPI(ResourceModel $resource)
    {
        $this->initDefaultParams($resource);

        $this->parseRedirectUrls($resource);

        $this->parseCustomerInformation($resource);

        $this->parseFraudManagementParams($resource);

        $this->parseTransactionRecord($resource);

        $this->overrideDefaultParams($resource);

        $this->parseRealTimeRecurringRedirect($resource);

        //var_dump($this->payload);exit;
        return $this->payload;
    }
public function parseForRedirectAPI ( ResourceModel $ resource ) { $ this -> initDefaultParams ( $ resource ) ; $ this -> parseRedirectUrls ( $ resource ) ; $ this -> parseCustomerInformation ( $ resource ) ; $ this -> parseFraudManagementParams ( $ resource ) ; $ this -> parseTransactionRecord ( $ resource ) ; $ this -> overrideDefaultParams ( $ resource ) ; $ this -> parseRealTimeRecurringRedirect ( $ resource ) ; //var_dump($this->payload);exit; return $ this -> payload ; }
Parse a Redirect resource into a request payload

@param ResourceModel $resource the payment resource

@return array $payload transaction payload for Redirect API request
Parse a Redirect resource into a request payload