From a4a757f28824de0e55f1df440d94fbd7cbbc725d Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Thu, 29 Aug 2019 13:10:09 +0300 Subject: [PATCH] Fix for ninja Stripe payments --- app/Ninja/PaymentDrivers/StripePaymentDriver.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Ninja/PaymentDrivers/StripePaymentDriver.php b/app/Ninja/PaymentDrivers/StripePaymentDriver.php index 60cb07052111..b7907cd3669f 100644 --- a/app/Ninja/PaymentDrivers/StripePaymentDriver.php +++ b/app/Ninja/PaymentDrivers/StripePaymentDriver.php @@ -282,9 +282,9 @@ class StripePaymentDriver extends BasePaymentDriver $payment = $this->createPayment($ref, $paymentMethod); if ($this->invitation->invoice->account->isNinjaAccount()) { - Session::flash('trackEventCategory', '/account'); - Session::flash('trackEventAction', '/buy_pro_plan'); - Session::flash('trackEventAmount', $payment->amount); + \Session::flash('trackEventCategory', '/account'); + \Session::flash('trackEventAction', '/buy_pro_plan'); + \Session::flash('trackEventAmount', $payment->amount); } if ($intent->setup_future_usage == 'off_session') {