detsta processing -> move to cart if not successfull, transfer/paymentLater changes

This commit is contained in:
2016-07-27 07:20:47 +02:00
parent b52cc1a438
commit fdbd39b059
29 changed files with 700 additions and 124 deletions

View File

@@ -75,10 +75,11 @@ class TransferPayout extends \yii\base\Object{
public function isTransferCountMatchWithRequestesTransferCount(){
return count($this->transfers) == count($this->idTransfers);
}
/**
* @param common\models\Transfer $transfer the transfer to payout
* */
* @param \common\models\Transfer $transfer the transfer to payout
* @throws Exception
*/
protected function payoutTransfer($transfer){
$transfer->paid_by = $this->idUser;