chore: refine provisioning status messaging and logging constants
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/020b5f73-a6ca-4a45-a4cb-eeef59cb26a8 Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
This commit is contained in:
parent
a945b613ed
commit
7de271b787
2 changed files with 12 additions and 2 deletions
|
|
@ -38,7 +38,7 @@ function billing_payment_success_provision_state(array $order): array
|
|||
}
|
||||
// home_id exists but server_homes row does not: orphaned consistency failure.
|
||||
if (!$hasHome) {
|
||||
return ['label' => 'FAILED', 'message' => 'Provisioning error: billing order references a missing server home.', 'class' => 'status-badge status-failed'];
|
||||
return ['label' => 'FAILED', 'message' => 'Server setup failed. Please contact support with your order ID.', 'class' => 'status-badge status-failed'];
|
||||
}
|
||||
if ($ipPortCount <= 0 || $modCount <= 0) {
|
||||
return ['label' => 'PENDING', 'message' => 'Server created; install is pending final IP/mod setup.', 'class' => 'status-badge status-pending'];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue