checkout fail
This commit is contained in:
parent
916ea81e91
commit
7fb70a72cf
|
|
@ -19,6 +19,7 @@ class ProcessPayment extends Job implements ShouldQueue
|
|||
|
||||
protected $order;
|
||||
protected $session_data;
|
||||
public $tries = 5;
|
||||
/**
|
||||
* Create a new job instance.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -88,6 +88,7 @@ class Ticket extends MyBaseModel
|
|||
public function booked(){
|
||||
return $this->hasMany(Attendee::class)
|
||||
->where('is_cancelled',false)
|
||||
->where('is_refunded',false)
|
||||
->orderBy('seat_no','asc');
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ return [
|
|||
'connections' => [
|
||||
|
||||
'sync' => [
|
||||
'driver' => 'sync',
|
||||
'driver' => 'redis',
|
||||
],
|
||||
'database' => [
|
||||
'driver' => 'database',
|
||||
|
|
@ -62,7 +62,8 @@ return [
|
|||
'redis' => [
|
||||
'driver' => 'redis',
|
||||
'queue' => 'default',
|
||||
'expire' => 60,
|
||||
'retry_after' => 90,
|
||||
'block_for' => 5,
|
||||
],
|
||||
],
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in New Issue