fix pargar bug

This commit is contained in:
2026-07-20 15:52:42 +03:30
parent 160d6bd923
commit a809a843b8
7 changed files with 586 additions and 62 deletions
@@ -386,7 +386,10 @@ class CartController extends Controller
if ($config->isPargarAccounting()) {
try {
app(PargarSyncService::class)->recordTrade($order, true);
app(PargarSyncService::class)->recordTrade($order, true, [
'payment_kind' => PargarSyncService::PAYMENT_CASH,
'product_id' => null,
]);
} catch (\Throwable $e) {
report($e);
}