File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -128,8 +128,8 @@ private function pendingOrders(): array
128
128
$ query = $ this ->orderCollection
129
129
->getSelect ()
130
130
->join (['pp ' => 'sales_order_payment ' ], 'main_table.entity_id = pp.parent_id ' )
131
- ->where ('updated_at >= ? ' , $ this ->date ()->sub (DateInterval::createFromDateString ('6 hour ' ))->format ('Y-m-d H:i:s ' ))
132
- ->where ('updated_at <= ? ' , $ this ->date ()->sub (DateInterval::createFromDateString ('15 minutes ' ))->format ('Y-m-d H:i:s ' ))
131
+ ->where ('updated_at >= ? ' , $ this ->date ()->sub (DateInterval::createFromDateString ('360 hour ' ))->format ('Y-m-d H:i:s ' ))
132
+ ->where ('updated_at <= ? ' , $ this ->date ()->sub (DateInterval::createFromDateString ('5 minutes ' ))->format ('Y-m-d H:i:s ' ))
133
133
->where ('main_table.state in (?) ' , ['new ' , 'pending_payment ' ])
134
134
->where ('main_table.status = ? ' , 'pending ' )
135
135
->where ('pp.method = ? ' , 'moyasar_payments ' );
You can’t perform that action at this time.
0 commit comments