Closed jtgrimes closed 7 years ago
Makes sense to me. If we would really want to complete, we should also allow for a redirect response probably though.
Noted, I have a massive backlog of real world work at the moment, will try to clear my github/omnipay backlog early next week.
+1 Having the refund method on Dummy will be super-useful!
@coatesap comment about the docblocks is correct -- these need to be fixed.
Also I see that some parts of the markup in the class docblock have changed, e.g. the headings removed. I see no good reason for that.
OK notwithstanding the fact that travis is passing the tests, this PR needs the docblocks fixed before I can merge.
@delatbabel The GatewayInterface says the methods return a RequestInterface
.
@jtgrimes I'd really like to see this merged. You OK with me doing a new PR based on this with the docblocks fixed?
@kynx - you bet! I'm sorry I lost track of this PR - if you want to pick it up, that's great!
@jtgrimes Is your fork at https://github.com/jtgrimes/omnipay-dummy now redundant? Can we move back to using https://github.com/thephpleague/omnipay-dummy? (I think so, just would like to confirm).
@rquadling yep - it was merged in and my fork is actually behind the current repo - definitely switch back.
I found myself needing to add void() and capture() functions so I could test my project, and then it sort of took off. \Omnipay\Common\GatewayInterface lists functions which should be standard in any gateway, so I just implemented a dummy version of all of them.