Minor fixes

This commit is contained in:
David Bomba 2021-07-05 20:45:00 +10:00
parent a033ba706c
commit 552afe3374
3 changed files with 8 additions and 1 deletions

View File

@ -71,7 +71,6 @@ class PaymentNotification implements ShouldQueue
} }
/*Google Analytics Track Revenue*/ /*Google Analytics Track Revenue*/
if (isset($payment->company->google_analytics_key)) { if (isset($payment->company->google_analytics_key)) {
$this->trackRevenue($event); $this->trackRevenue($event);

View File

@ -161,6 +161,8 @@ class User extends Authenticatable implements MustVerifyEmail
public function setCompany($company) public function setCompany($company)
{ {
$this->company = $company; $this->company = $company;
return $this;
} }
/** /**

View File

@ -22,6 +22,7 @@ use App\Models\SystemLog;
use App\PaymentDrivers\PayFastPaymentDriver; use App\PaymentDrivers\PayFastPaymentDriver;
use Illuminate\Support\Str; use Illuminate\Support\Str;
use Illuminate\Support\Facades\Cache; use Illuminate\Support\Facades\Cache;
use Illuminate\Http\Request;
class CreditCard class CreditCard
{ {
@ -184,5 +185,10 @@ class CreditCard
return render('gateways.payfast.authorize', $data); return render('gateways.payfast.authorize', $data);
} }
public function processPaymentResponse(Request $request)
{
}
} }