Example #1
0
 protected function prepareTransaction(Transaction $transaction)
 {
     return $this->push('addTrans', array($transaction->getId(), $transaction->getAffiliation(), $transaction->getTotal(), $transaction->getTax(), $transaction->getShipping(), $transaction->getCity(), $transaction->getState(), $transaction->getCountry())) . $this->prepareTransactionItems($transaction);
 }