Problem/Motivation
When returning from Mollie, the last payment is loaded without checking if that payment belongs to a mollie gateway plugin.
Proposed resolution
Find and use the last mollie payment.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | 3318548-4.patch | 1.01 KB | jmeijer |
| #5 | 3318548-3.patch | 1.22 KB | jmeijer |
| #2 | 3318548-2.patch | 1.35 KB | casey |
Comments
Comment #2
casey commentedComment #4
ndf commentedThanks casey!
Comment #5
jmeijer commentedWe should check if the Gateway is an instance of Mollie Gateway instead of checking if it's specifically the Mollie Gateway. This allows Gateways that extend the Mollie Gateway to be handled by the ReturnController as well.
Comment #6
jmeijer commentedSorry, made a mistake in the last patch
Comment #7
ndf commented@jmeijer Can you create a new ticket with the bug-report and link it to this one? Then we can review it in that issue.
NB The patches are failing the test-suite, the tests must be green otherwise we cannot merge the fix.