public function getData()
    {
        $this->validate('currency', 'description', 'encryptionKey', 'returnUrl');

        // The test mode is included to determine the redirect URL.

        return [
            'VPSProtocol' => $this->VPSProtocol,
            'TxType' => $this->getTxType(),
            'Vendor' => $this->getVendor(),
            'Crypt' => $this->generateCrypt($this->getCryptData()),
            'TestMode' => $this->getTestMode(),
        ];
    }
public function getData()
    {
        $this->validate('currency', 'description', 'encryptionKey', 'returnUrl');

        // The test mode is included to determine the redirect URL.

        return [
            'VPSProtocol' => $this->VPSProtocol,
            'TxType' => $this->getTxType(),
            'Vendor' => $this->getVendor(),
            'Crypt' => $this->generateCrypt($this->getCryptData()),
            'TestMode' => $this->getTestMode(),
        ];
    }
public function getData ( ) { $ this -> validate ( 'currency' , 'description' , 'encryptionKey' , 'returnUrl' ) ; // The test mode is included to determine the redirect URL. return [ 'VPSProtocol' => $ this -> VPSProtocol , 'TxType' => $ this -> getTxType ( ) , 'Vendor' => $ this -> getVendor ( ) , 'Crypt' => $ this -> generateCrypt ( $ this -> getCryptData ( ) ) , 'TestMode' => $ this -> getTestMode ( ) , ] ; }
Get the full set of Sage Pay Form data, most of which is encrypted.
TxType is only PAYMENT, DEFERRED or AUTHENTICATE

@reurn array
Get the full set of Sage Pay Form data most of which is encrypted . TxType is only PAYMENT DEFERRED or AUTHENTICATE