<?phpusePayum\Core\GatewayInterface;usePayum\Core\Model\Payment;usePayum\Core\Request\GetHumanStatus;/** @vararray|\ArrayObject|Payment $model *//** @varGatewayInterface $gateway */$gateway->execute($status =newGetHumanStatus($model));$status->isNew();$status->isPending();$status->isAuthorized();$status->isCaptured();$status->isRefunded();$status->isCanceled();$status->isSuspended();$status->isFailed();$status->isUnknown();$status->getValue(); // 'new', 'authorized', 'captured' and so on.
Payum is an MIT-licensed open source project with its ongoing development made possible entirely by the support of community and our customers. If you'd like to join them, please consider: