#39458 - Improved error message when the payment method was changed

1. Why is this change necessary?

It's a bug fix.

2. What does this change do, exactly?

It removes an error message when a payment method was disabled and places a custom error message.

3. Describe each step to reproduce the issue or behavior.

  1. Install & activate the plugin
  2. Configure your sales channel like the following
    image
  3. Create a new rule like this
    image
  4. Make sure the payment method "Invoice" is assigned to the previously created rule
    image
  5. Put a line item into the cart and redeem a voucher which makes the cart amount zero
  6. You should see an error/info message like this

image

https://redmine.netinventors.de/issues/39458

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

6. Release Notes

Merge request reports

Loading