feat(order): wait for colleague callback before settling wallet
Keep cover orders pending until colleague sts 2/4/6 via callback or 35s poll. Nightly prices:prune also drops old log tables. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -40,10 +40,14 @@ class Order extends Model
|
||||
'provider_id',
|
||||
'total_price_montzar',
|
||||
'description',
|
||||
'colleague_callback_payload',
|
||||
'colleague_last_poll_at',
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
'fee_breakdown' => 'array',
|
||||
'colleague_callback_payload' => 'array',
|
||||
'colleague_last_poll_at' => 'datetime',
|
||||
];
|
||||
|
||||
static $STS = [
|
||||
|
||||
Reference in New Issue
Block a user