<?php

namespace App\Services\RemotePayments;

use App\Models\RemotePaymentSubmission;

class ManualReviewPaymentProvider implements RemotePaymentProvider
{
    public function code(): string
    {
        return 'manual-review';
    }

    public function supports(string $channel): bool
    {
        return in_array($channel, RemotePaymentSubmission::CHANNELS, true);
    }

    public function verify(RemotePaymentSubmission $submission): array
    {
        return [
            'status' => 'manual_review_required',
            'message' => 'No external payment provider is configured for automatic verification. Authorized staff must verify the submitted reference and proof.',
            'verified' => false,
        ];
    }
}
