Fix for ninja Stripe payments

This commit is contained in:
Hillel Coren 2019-08-29 13:10:09 +03:00
parent ded1acd66c
commit 9357405f14

View File

@ -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') {