submitManualPayment( $_SESSION['user_id'], $_SESSION['payment_amount'], $_SESSION['payment_phone'], $mpesa_code, $filename ); if ($result['success']) { $success = "Payment submitted for verification! We'll update your balance within 1 hour."; unset($_SESSION['payment_amount'], $_SESSION['payment_phone']); } else { $error = $result['error']; } } else { $error = "Failed to upload screenshot"; } } ?>