mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 15:54:31 -04:00
Fix for ninja Stripe payments
This commit is contained in:
parent
ded1acd66c
commit
9357405f14
@ -269,9 +269,9 @@ class StripePaymentDriver extends BasePaymentDriver
|
|||||||
$payment = $this->createPayment($ref, $paymentMethod);
|
$payment = $this->createPayment($ref, $paymentMethod);
|
||||||
|
|
||||||
if ($this->invitation->invoice->account->isNinjaAccount()) {
|
if ($this->invitation->invoice->account->isNinjaAccount()) {
|
||||||
Session::flash('trackEventCategory', '/account');
|
\Session::flash('trackEventCategory', '/account');
|
||||||
Session::flash('trackEventAction', '/buy_pro_plan');
|
\Session::flash('trackEventAction', '/buy_pro_plan');
|
||||||
Session::flash('trackEventAmount', $payment->amount);
|
\Session::flash('trackEventAmount', $payment->amount);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($intent->setup_future_usage == 'off_session') {
|
if ($intent->setup_future_usage == 'off_session') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user