hiqdev / omnipay-qiwi

Qiwi driver for Omnipay PHP payment library
MIT License
4 stars 4 forks source link

Call to undefined method Omnipay\Qiwi\Message\PurchaseRequest::getSuccessUrl() #3

Open iyamk opened 1 year ago

iyamk commented 1 year ago

This damn library gives me an error


Error

Call to undefined method Omnipay\Qiwi\Message\PurchaseRequest::getSuccessUrl()

VENDORPATH/hiqdev/omnipay-qiwi/src/Message/PurchaseRequest.php at line 27

20             'returnUrl', 'cancelUrl', 'notifyUrl'
21         );
22 
23         return [
24             'from'       => $this->getProviderId(),
25             'summ'       => $this->getAmount(),
26             'currency'   => strtoupper($this->getCurrency()),
27             'successUrl' => $this->getSuccessUrl(),
28             'failUrl'    => $this->getFailureUrl(),
29             'txn_id'     => $this->getTransactionId(),
30             'comm'       => $this->getDescription(),
31             'alarm'      => 0,
32         ];
33     }
34