checkout fail

This commit is contained in:
merdan 2020-04-11 17:33:44 +05:00
parent 8213871679
commit e943cb9634
1 changed files with 2 additions and 2 deletions

View File

@ -449,7 +449,7 @@ class EventCheckoutController extends Controller
]);
} else {
//some times bank responds as payment not processed and we check 5 minutes later paymant status
ProcessPayment::dispatch($order,$ticket_order)->delay(now()->addMinutes(1));
ProcessPayment::dispatch($order,$ticket_order);
return $this->render('Pages.OrderExpectingPayment');
}
}
@ -501,7 +501,7 @@ class EventCheckoutController extends Controller
ReservedTickets::where('session_id', $order->session_id)
->where('event_id', $event_id)
->update(['expects_payment_at' => Carbon::now()]);
ProcessPayment::dispatch($order)->delay(now()->addMinutes(1));
ProcessPayment::dispatch($order);
return $this->render('Pages.OrderExpectingPayment',$order);
}
}