#36207 - Fix account payment filter
1. Why is this change necessary?
The payments on the account page were invalid.
2. What does this change do, exactly?
It filters the payments only when the "onlyAvailable" flag is also set, which usually happens in the checkout only.
3. Describe each step to reproduce the issue or behavior.
- Install and configure the plugin as described in !1 (merged)
- Login into your account
- Go to "Account > Payments", there should be all except "Free"
- Go to checkout and test the plugin like before in !1 (merged)
4. Please link to the relevant issues (if any).
https://redmine.netinventors.de/issues/36207
5. Checklist
-
I have updated the plugin version and changelog -
I can confirm the code style fits our requirements -
I can confirm that no debug output is generated anywhere -
I have changed the required NetiFoundation-version to the latest available version