private function parseFeedData($encryptedData, $decryptedData)
    {
        $orders = new \SimpleXMLElement($decryptedData);

        // loop over each transaction to find FoxyCart Order ID
        foreach ($orders->transactions->transaction as $transaction) {
            $this->processTransaction($transaction, $encryptedData);
        }
    }
private function parseFeedData($encryptedData, $decryptedData)
    {
        $orders = new \SimpleXMLElement($decryptedData);

        // loop over each transaction to find FoxyCart Order ID
        foreach ($orders->transactions->transaction as $transaction) {
            $this->processTransaction($transaction, $encryptedData);
        }
    }
private function parseFeedData ( $ encryptedData , $ decryptedData ) { $ orders = new \ SimpleXMLElement ( $ decryptedData ) ; // loop over each transaction to find FoxyCart Order ID foreach ( $ orders -> transactions -> transaction as $ transaction ) { $ this -> processTransaction ( $ transaction , $ encryptedData ) ; } }
Parse the XML data feed from Foxy to a SimpleXMLElement object

@param $encrypted
@param $decrypted

@throws \SilverStripe\ORM\ValidationException
Parse the XML data feed from Foxy to a SimpleXMLElement object