payment process

This commit is contained in:
Etienne Roudeix
2013-09-19 15:59:16 +02:00
parent 3c02a9d23c
commit ec7d4471dc
5 changed files with 33 additions and 11 deletions

View File

@@ -17,10 +17,12 @@ class Order extends BaseOrder
/**
* {@inheritDoc}
*/
/*public function postInsert(ConnectionInterface $con = null)
public function preInsert(ConnectionInterface $con = null)
{
$this->dispatchEvent(TheliaEvents::ORDER_SET_REFERENCE, new OrderEvent($this));
}*/
return true;
}
/**
* calculate the total amount