#40357 - Set default payment method in case the previous one is no longer available
1. Why is this change necessary?
It's a bug fix.
2. What does this change do, exactly?
It sets the first payment method if no payment method was found by the session.
3. Describe each step to reproduce the issue or behavior.
- Install & activate this plugin
- Redeem a 100 % voucher -> payment method
Free
should be selected - Remove the voucher from cart -> first payment is selected if no previous payment is available.
4. Please link to the relevant issues (if any).
https://redmine.netinventors.de/issues/40357
5. Checklist
-
I have updated the plugin version and changelog -
I have updated the manual / created a manual update merge request -
I have updated the shopware store information -
I can confirm the code style fits our requirements -
I can confirm that no debug output is generated anywhere