From 9357405f14eebeb496e711af8968c25f9efedc3e 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 255acefd35f4..f6f00fbdc0d6 100644 --- a/app/Ninja/PaymentDrivers/StripePaymentDriver.php +++ b/app/Ninja/PaymentDrivers/StripePaymentDriver.php @@ -269,9 +269,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') {