From 968df9409e8602be732fa18a54d035c59d5672ac Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sun, 2 Feb 2014 21:24:54 +0200 Subject: [PATCH] bug fixes --- app/controllers/PaymentController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/PaymentController.php b/app/controllers/PaymentController.php index de440e3e13..f9f824c915 100755 --- a/app/controllers/PaymentController.php +++ b/app/controllers/PaymentController.php @@ -220,7 +220,7 @@ class PaymentController extends \BaseController if ($response->isSuccessful()) { - self::createPayment($invitation, $ref); + $payment = self::createPayment($invitation, $ref); $invoice->invoice_status_id = INVOICE_STATUS_PAID; $invoice->save();