Back

Processor of service of back after making a payment.

package

Default

Methods

Initialize the processor.

__construct(\Dotpay\Processor\string/null $errorCode) 

Arguments

$errorCode

\Dotpay\Processor\string/null

Error code from Dotpay

Execute the processor for making all activities.

execute() : boolean
Throws
\Dotpay\Exception\Payment\ExpiredException

Thrown when payment has been expired

\Dotpay\Exception\Payment\UnknowChannelException

Thrown when the given channel is unknown

\Dotpay\Exception\Payment\DisabledChannelException

Thrown when selected channel payment is desabled

\Dotpay\Exception\Payment\UnknownCurrencyException

Thrown when currency code is unknown

\Dotpay\Exception\Payment\BlockedAccountException

Thrown when seller account is disabled

\Dotpay\Exception\Payment\InactiveAccountException

Thrown when seller account is inactive

\Dotpay\Exception\Payment\LowAmountException

Thrown when amount is too low

\Dotpay\Exception\Payment\HighAmountException

Thrown when amount is too high

\Dotpay\Exception\Payment\BadDataFormatException

Thrown when format of request data is bad

\Dotpay\Exception\Payment\ParameterNotPresentException

Thrown when one of neccessary parameters is not present

\Dotpay\Exception\Payment\Multimerchant\AccountConfigurationException

Thrown when one of multimerchant account is not configured to use this functionality

\Dotpay\Exception\Payment\Multimerchant\InsufficientAmountException

Thrown when amount in multimerchant payments is wrong

\Dotpay\Exception\Payment\Multimerchant\WrongCurrencyException

Thrown when currency in multimerchant payments is wrong

\Dotpay\Exception\Payment\HashNotEqualException

Thrown when request has been modified during transmission

\Dotpay\Exception\Payment\UnrecognizedException

Thrown when unrecognized error occured

Response

boolean

Properties

Error code from Dotpay

errorCode : \Dotpay\Processor\string/null
var

Error code from Dotpay

Type(s)

\Dotpay\Processor\string/null