# give/4.16.9/src/Framework/PaymentGateways/CommandHandlers/PaymentPendingHandler.php

GiveWP – Donation Plugin and Fundraising Platform, version 4.16.9. 33 lines.

- Page: https://pluginprobe.com/plugins/give/4.16.9/code/src/Framework/PaymentGateways/CommandHandlers/PaymentPendingHandler.php
- Raw: https://pluginprobe.com/plugins/give/4.16.9/raw/src/Framework/PaymentGateways/CommandHandlers/PaymentPendingHandler.php
- Modified: 2023-10-16T17:55:46+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/give/4.16.9/code/src/Framework/PaymentGateways/CommandHandlers/PaymentPendingHandler.php#L10-L20`.

```php
<?php

namespace Give\Framework\PaymentGateways\CommandHandlers;

use Give\Donations\ValueObjects\DonationStatus;
use Give\Framework\PaymentGateways\Commands\PaymentPending;

/**
 * @since 3.0.0
 */
class PaymentPendingHandler extends PaymentHandler
{
    /**
     * @since 3.0.0
     *
     * @param PaymentPending $paymentCommand
     */
    public function __construct(PaymentPending $paymentCommand)
    {
        parent::__construct($paymentCommand);
    }

    /**
     * @since 3.0.0
     *
     * @inheritDoc
     */
    protected function getPaymentStatus(): DonationStatus
    {
        return DonationStatus::PENDING();
    }
}

```
