14-04-2026
This commit is contained in:
parent
f58c709945
commit
0f82fea88a
72 changed files with 7414 additions and 148 deletions
|
|
@ -26,6 +26,7 @@ namespace App\Http\Controllers\Pay;
|
|||
use App\Http\Controllers\Controller;
|
||||
use App\Models\PaymentTransaction;
|
||||
use App\Models\ShoppingPayment;
|
||||
use App\Services\CheckoutFunnelTracker;
|
||||
use App\Services\MyLog;
|
||||
use App\Services\Payone;
|
||||
use Util;
|
||||
|
|
@ -189,6 +190,15 @@ class PayoneController extends Controller
|
|||
'mode' => $this->shopping_order->mode,
|
||||
]);
|
||||
|
||||
CheckoutFunnelTracker::initiatedPayment(
|
||||
shoppingUserId: $this->shopping_user->id,
|
||||
shoppingOrderId: $this->shopping_order->id,
|
||||
shoppingPaymentId: $this->shopping_payment->id,
|
||||
consultantUserId: $this->shopping_user->auth_user_id ?? null,
|
||||
paymentMethod: $payment_method,
|
||||
amountCents: $amount,
|
||||
);
|
||||
|
||||
$this->default['mode'] = $this->shopping_order->mode;
|
||||
|
||||
return $this->reference;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue