Markette\Gopay\Entity\ReturnedPayment::getStatus PHP Method

getStatus() public method

Receives status of payment from Gopay WS
public getStatus ( ) : array
return array
    public function getStatus()
    {
        if ($this->result !== NULL) {
            return $this->result;
        }
        return $this->result = $this->getGopay()->getSoap()->isPaymentDone((double) $this->valuesToBeVerified['paymentSessionId'], (double) $this->getGopay()->getConfig()->getGopayId(), $this->getVariable(), (int) $this->getSumInCents(), $this->getCurrency(), $this->getProductName(), $this->getGopay()->getConfig()->getGopaySecretKey());
    }