File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,14 @@ public function handle(): void
4545 if ($ this ->adminDashboard ->adverts_enabled ) {
4646 $ this ->offer ->auto_confirm_at = Carbon::now ()->addMinutes (5 );
4747 } else {
48- $ this ->offer ->auto_confirm_at = Carbon::now ()->addSecond (15 );
48+ if ($ this ->offer ->type === "buy " ) {
49+ $ this ->offer ->auto_confirm_at = Carbon::now ()->addSecond (15 );
50+ } else {
51+ $ this ->offer ->auto_confirm_at = Carbon::now ()->addHours (2 );
52+ $ message = "Fiat has been received, thank you; however, for necessary bank checks to complete and to prevent me losing funds "
53+ . "from a transaction being reversed. Confirmation will occur in 2 hours. Thank you for waiting. " ;
54+ $ robosats ->webSocketCommunicate ($ this ->offer , $ this ->offer ->robots ()->first (), $ message );
55+ }
4956 }
5057 $ this ->offer ->save ();
5158
You can’t perform that action at this time.
0 commit comments