Closed boboldehampsink closed 5 years ago
I found that the isPending()
method is not available in the used omnipay/common package (2.3.3). This was only added in 2.4.0, see https://github.com/thephpleague/omnipay-common/commit/3d7fd40754220063c9191f31393d2f2b63cd0d4e
Can't seem to upgrade to omnipay/common 2.4+ due to composer constraints, so here's a workaround that fixes this issue: #5
@andris-sevcenko was hoping to have an interesting discussion with you about this ;-)
@boboldehampsink just pinged you on discord :)
Upgrading to Omnipay 3 doesn't seem to fix this issue. The omnipay-mollie package also does not implement isPending()
but does implement the very similar isOpen()
. I've updated this package to pick that up.
How come updating to Omnipay v3 didn't fix this? https://github.com/thephpleague/omnipay-common/blob/v3.0.0/src/Common/Message/AbstractResponse.php#L75
Sorry, my conclusion was that the omnipay-mollie never implements isPending()
.
In #5 I assume that omnipay-mollie's isOpen()
is somewhat the same thing. Yesterday I found out that it isn't quite te same. So with the upgrade to Omnipay 3 this issue can be closed.
Closing this, then.