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

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

- Page: https://pluginprobe.com/plugins/give/4.16.9/code/src/Framework/PaymentGateways/CommandHandlers/PaymentProcessingHandler.php
- Raw: https://pluginprobe.com/plugins/give/4.16.9/raw/src/Framework/PaymentGateways/CommandHandlers/PaymentProcessingHandler.php
- Modified: 2022-06-17T00:03:36+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/PaymentProcessingHandler.php#L10-L20`.

```php
<?php

namespace Give\Framework\PaymentGateways\CommandHandlers;

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

class PaymentProcessingHandler extends PaymentHandler
{
    /**
     * @param PaymentProcessing $paymentCommand
     */
    public function __construct(PaymentProcessing $paymentCommand)
    {
        parent::__construct($paymentCommand);
    }

    /**
     * @return DonationStatus
     */
    protected function getPaymentStatus(): DonationStatus
    {
        return DonationStatus::PROCESSING();
    }
}

```
